Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.0008651/0.0008651, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008687/0.0008687, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.9067/0.9067, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.299e-05/4.663e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002619/0.002666, allocations: 1.239 MB / 0.9517 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.002958, allocations: 51.83 kB / 0.9517 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.003004, allocations: 0 / 0.9517 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/0.00305, allocations: 0 / 0.9517 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.003212, allocations: 4 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.00344, allocations: 19.8 kB / 0.9518 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.003536, allocations: 15.98 kB / 0.9518 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.003587, allocations: 4 kB / 0.9518 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.00365, allocations: 11.92 kB / 0.9518 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.003726, allocations: 12.73 kB / 0.9518 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.003747, allocations: 0 / 0.9518 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.003837, allocations: 11.98 kB / 0.9518 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.003938, allocations: 44.47 kB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.00397, allocations: 23.88 kB / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004106, allocations: 67.7 kB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004109, allocations: 0 / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.613e-06/0.00411, allocations: 4 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.004116, allocations: 4 kB / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003885/0.004504, allocations: 353.5 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.004556, allocations: 15.97 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.004602, allocations: 106 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.004661, allocations: 88.12 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004783, allocations: 204.9 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.004837, allocations: 154.9 kB / 0.9528 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.004889, allocations: 150.9 kB / 0.953 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.497e-05/0.004964, allocations: 104.9 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.00499, allocations: 87.27 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.005038, allocations: 150.6 kB / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.005085, allocations: 154.6 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.005133, allocations: 150.6 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.005461, allocations: 464.8 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.005563, allocations: 173.1 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.005599, allocations: 80.14 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.005629, allocations: 79.22 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.005675, allocations: 105.8 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.814e-06/0.005677, allocations: 0 / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 9.836e-05/0.005775, allocations: 45.55 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.005841, allocations: 134.7 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.006089, allocations: 231.1 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.006103, allocations: 29.64 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.006175, allocations: 112.1 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.006178, allocations: 0 / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.006244, allocations: 37.7 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000336/0.00658, allocations: 326.8 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.006668, allocations: 55.95 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.006727, allocations: 54.22 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.006885, allocations: 140.7 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.006889, allocations: 4.031 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003488/0.007237, allocations: 184 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.007262, allocations: 6.344 kB / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.007273, allocations: 0 / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.007295, allocations: 4 kB / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.007297, allocations: 0 / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.007304, allocations: 0 / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.007343, allocations: 15.84 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.007363, allocations: 7.984 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001058/0.007469, allocations: 197.1 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.007521, allocations: 128.9 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.007569, allocations: 118 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.00762, allocations: 180.3 kB / 0.9564 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.437e-05/0.007674, allocations: 180.2 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-05/0.007728, allocations: 192.2 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.00791, allocations: 408.2 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/0.007936, allocations: 105.1 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.007962, allocations: 109 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-05/0.008008, allocations: 184.2 kB / 0.9575 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.008053, allocations: 180.3 kB / 0.9577 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.175e-05/0.008095, allocations: 180.3 kB / 0.9578 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.284e-05/0.008147, allocations: 184.2 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.008252, allocations: 319.6 kB / 0.9583 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.008292, allocations: 116.9 kB / 0.9584 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.008346, allocations: 180.3 kB / 0.9586 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.008399, allocations: 108.9 kB / 0.9587 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.008445, allocations: 180.2 kB / 0.9589 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.00847, allocations: 108.9 kB / 0.959 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.004e-05/0.00856, allocations: 156.6 kB / 0.9591 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.1e-08/0.00856, allocations: 0 / 0.9591 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001657/0.008726, allocations: 19.94 kB / 0.9592 GB, free: 10.19 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003918/0.009117, allocations: 0.8242 MB / 0.96 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.009246, allocations: 63.89 kB / 0.96 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.009249, allocations: 0 / 0.96 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.00925, allocations: 0 / 0.96 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.009536, allocations: 459.7 kB / 0.9605 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.01128, allocations: 2.142 MB / 0.9626 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.704e-05/0.01134, allocations: 104.8 kB / 0.9627 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.01136, allocations: 11.98 kB / 0.9627 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.01141, allocations: 28.48 kB / 0.9627 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.01141, allocations: 0 / 0.9627 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.03089, allocations: 3.436 MB / 0.966 GB, free: 3.121 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/6.839, allocations: 0 / 0.966 GB, free: 3.121 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.990445510484278]