Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007111/0.007111, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 199.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9872/0.9888, allocations: 140.3 MB / 0.9496 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002545/0.9915, allocations: 1.277 MB / 0.9508 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.9918, allocations: 64.16 kB / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.9918, allocations: 0 / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.9919, allocations: 4 kB / 0.9509 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.9921, allocations: 7.422 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.9922, allocations: 7.375 kB / 0.9509 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.9923, allocations: 36.42 kB / 0.9509 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.9924, allocations: 6.203 kB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.9924, allocations: 3.375 kB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.9925, allocations: 11.53 kB / 0.951 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.9925, allocations: 0 / 0.951 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.9926, allocations: 16.38 kB / 0.951 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.9927, allocations: 47.77 kB / 0.951 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.9927, allocations: 40.41 kB / 0.9511 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.9928, allocations: 49.75 kB / 0.9511 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.9929, allocations: 1.938 kB / 0.9511 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9929, allocations: 0 / 0.9511 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.9929, allocations: 0 / 0.9511 GB, free: 8.176 MB / 0.7169 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.0004512/0.9933, allocations: 430.6 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9934, allocations: 10 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.9935, allocations: 87.25 kB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.9936, allocations: 268.8 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.9937, allocations: 150.6 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.9937, allocations: 151.5 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.906e-05/0.9938, allocations: 102.2 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.9938, allocations: 75.28 kB / 0.9523 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.9938, allocations: 167.6 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.9939, allocations: 150.6 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.9939, allocations: 155.5 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.9942, allocations: 499.8 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.9942, allocations: 170.5 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.9943, allocations: 80.14 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.9943, allocations: 76.62 kB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.9943, allocations: 105.8 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.9943, allocations: 3.938 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.171e-05/0.9944, allocations: 33.95 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.9944, allocations: 136.5 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.9947, allocations: 228.8 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.9947, allocations: 25.7 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.9947, allocations: 118.2 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.9947, allocations: 0 / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.9948, allocations: 38.56 kB / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.9949, allocations: 327.8 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.995, allocations: 57.64 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.9951, allocations: 63.12 kB / 0.9546 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.9953, allocations: 139.6 kB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9953, allocations: 3.938 kB / 0.9548 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003505/0.9956, allocations: 175 kB / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9957, allocations: 4.906 kB / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.9957, allocations: 5.219 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.9957, allocations: 0 / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.9957, allocations: 1.031 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.9957, allocations: 0 / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.9957, allocations: 14.72 kB / 0.955 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.9958, allocations: 16.86 kB / 0.955 GB, free: 4.414 MB / 0.7169 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 9.795e-05/0.9959, allocations: 201.9 kB / 0.9552 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.9959, allocations: 116.4 kB / 0.9553 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.996, allocations: 117.9 kB / 0.9554 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/0.996, allocations: 177.5 kB / 0.9556 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/0.9961, allocations: 181.8 kB / 0.9558 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/0.9961, allocations: 184.2 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.9963, allocations: 441.1 kB / 0.9563 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.9963, allocations: 102.1 kB / 0.9564 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.9963, allocations: 102.2 kB / 0.9565 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.024e-05/0.9964, allocations: 189.6 kB / 0.9567 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.9964, allocations: 180.3 kB / 0.9569 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.695e-05/0.9965, allocations: 181.6 kB / 0.9571 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.671e-05/0.9965, allocations: 177.7 kB / 0.9572 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.294e-05/0.9966, allocations: 322.1 kB / 0.9575 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.9967, allocations: 189.1 kB / 0.9577 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.9967, allocations: 186 kB / 0.9579 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.9968, allocations: 105.3 kB / 0.958 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.9968, allocations: 185.2 kB / 0.9582 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.9969, allocations: 106.1 kB / 0.9583 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00012/0.997, allocations: 165.6 kB / 0.9584 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.997, allocations: 0 / 0.9584 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002626/0.9973, allocations: 26.22 kB / 0.9585 GB, free: 0.7578 MB / 0.7169 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.0001572/0.9974, allocations: 181.2 kB / 0.9586 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.9976, allocations: 74.89 kB / 0.9587 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9976, allocations: 0 / 0.9587 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.9976, allocations: 8.984 kB / 0.9587 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.9979, allocations: 0.5354 MB / 0.9592 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.9984, allocations: 344.9 kB / 0.9596 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.9988, allocations: 0.7085 MB / 0.9603 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.9988, allocations: 9.688 kB / 0.9603 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.9988, allocations: 0 / 0.9603 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.003079/1.002, allocations: 1.113 MB / 0.9614 GB, free: 14.43 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches