Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 214.8 kB / 23.03 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.273/3.273, allocations: 0.5003 GB / 0.8062 GB, free: 28.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 65.33 kB / 1.17 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4662, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003649/0.4699, allocations: 1.728 MB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.4717, allocations: 0.9008 MB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.4718, allocations: 4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.472, allocations: 27.72 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.4725, allocations: 123.4 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.4729, allocations: 154.5 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.4732, allocations: 247.4 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.4734, allocations: 30.02 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.4736, allocations: 119.5 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0161/0.4897, allocations: 1.996 MB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.4898, allocations: 20 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.49, allocations: 40 kB / 1.351 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.4901, allocations: 43.83 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.4902, allocations: 75.62 kB / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.4908, allocations: 227.1 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4908, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4908, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.4908, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00117/0.492, allocations: 496.6 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.492, allocations: 12.03 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.095e-05/0.4921, allocations: 4.188 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.4921, allocations: 42.73 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4922, allocations: 16.84 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4926, allocations: 193.3 kB / 1.352 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.4927, allocations: 12 kB / 1.352 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.4927, allocations: 12 kB / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.493, allocations: 108.7 kB / 1.352 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.493, allocations: 4 kB / 1.352 GB, free: 9.781 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.493, allocations: 4 kB / 1.352 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.493, allocations: 7.938 kB / 1.352 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.4932, allocations: 63.81 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4942, allocations: 487.7 kB / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.4944, allocations: 93.12 kB / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/0.4945, allocations: 41.83 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.4945, allocations: 8 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.4949, allocations: 125 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.4949, allocations: 0 / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.000489/0.4954, allocations: 159.6 kB / 1.353 GB, free: 8.719 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/0.4955, allocations: 85.11 kB / 1.353 GB, free: 8.617 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.4957, allocations: 202.5 kB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.4958, allocations: 33.7 kB / 1.353 GB, free: 8.367 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4959, allocations: 124.5 kB / 1.353 GB, free: 8.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.4959, allocations: 35.73 kB / 1.353 GB, free: 8.207 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4961, allocations: 61.8 kB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4962, allocations: 326.8 kB / 1.353 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.4963, allocations: 39.92 kB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4967, allocations: 250.3 kB / 1.354 GB, free: 7.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.497, allocations: 105.9 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.497, allocations: 4 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003302/0.4973, allocations: 173.3 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4973, allocations: 6.188 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4973, allocations: 4 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4974, allocations: 0 / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.4974, allocations: 15.94 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4975, allocations: 4 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4977, allocations: 31.86 kB / 1.354 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.4977, allocations: 11.94 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.4979, allocations: 136.4 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.4979, allocations: 19.84 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.498, allocations: 21.45 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.498, allocations: 4 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.498, allocations: 0 / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.498, allocations: 0 / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.4987, allocations: 420.3 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4987, allocations: 0 / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.4987, allocations: 4 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4987, allocations: 4 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4987, allocations: 11.94 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4987, allocations: 0 / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4987, allocations: 3.938 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.4991, allocations: 240.1 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.4991, allocations: 11.91 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.4991, allocations: 7.922 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.4993, allocations: 15.98 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.4993, allocations: 19.97 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.4994, allocations: 8 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001506/0.4995, allocations: 156.2 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4995, allocations: 0 / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003482/0.4999, allocations: 51.88 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.5009, allocations: 0.8359 MB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.5012, allocations: 95.89 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5012, allocations: 4 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.5013, allocations: 47.92 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.5018, allocations: 58.55 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.5044, allocations: 1.924 MB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.5045, allocations: 108.1 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.5047, allocations: 29.7 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.5048, allocations: 55.41 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of SimCode: time 1.593e-06/0.5048, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.5351, allocations: 6.05 MB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.36, allocations: 0 / 1.364 GB, free: 12.77 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.548082775902003] Failed to read output from testmodel.py, exit status != 0: 12.5311134950025 12.56168689 12.065395125 Calling exit ...