Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001877/0.001877, allocations: 193.5 kB / 16.14 MB, free: 6.645 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.36 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2597, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002348/0.2621, allocations: 1.29 MB / 1.053 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.2629, allocations: 422.7 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.263, allocations: 3.938 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.263, allocations: 0 / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.2631, allocations: 0 / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.2635, allocations: 87.78 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.072e-05/0.2636, allocations: 19.98 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.2636, allocations: 0 / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.2636, allocations: 11.94 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.2637, allocations: 11.97 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2637, allocations: 3.938 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.2639, allocations: 95.84 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.2639, allocations: 11.98 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2639, allocations: 3.938 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.2641, allocations: 87.88 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2641, allocations: 0 / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2641, allocations: 7.938 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2641, allocations: 0 / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004191/0.2645, allocations: 385.5 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2646, allocations: 12.03 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.2647, allocations: 38.64 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.2647, allocations: 0.9375 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.2648, allocations: 164.4 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2648, allocations: 384 / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.2648, allocations: 4.375 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.2649, allocations: 46.23 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2649, allocations: 7.875 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.265, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.265, allocations: 4 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.265, allocations: 7.938 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.2653, allocations: 241 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.816e-05/0.2654, allocations: 42.5 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.2654, allocations: 20.84 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.2655, allocations: 96 / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.2656, allocations: 63.33 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.2656, allocations: 0 / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001934/0.2658, allocations: 77.77 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2659, allocations: 55.41 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.2659, allocations: 93.86 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2659, allocations: 29.7 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.266, allocations: 88.12 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.266, allocations: 11.84 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.266, allocations: 21.72 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.2661, allocations: 314.8 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.2662, allocations: 12.06 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.2662, allocations: 43.36 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.2663, allocations: 43.44 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2663, allocations: 11.81 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001022/0.2664, allocations: 73.52 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2664, allocations: 12.06 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2664, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2664, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.2665, allocations: 8 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2665, allocations: 4 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.2665, allocations: 4 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2666, allocations: 8 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.666e-05/0.2666, allocations: 117.7 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.2666, allocations: 7.906 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.2667, allocations: 11.56 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2667, allocations: 0 / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2667, allocations: 0 / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2667, allocations: 4 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2669, allocations: 298.5 kB / 1.056 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2669, allocations: 0 / 1.056 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.267, allocations: 11.88 kB / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.267, allocations: 0 / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.267, allocations: 0 / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.267, allocations: 4 kB / 1.056 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.267, allocations: 4 kB / 1.056 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.2671, allocations: 163.8 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.2672, allocations: 77.11 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2672, allocations: 128 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.2672, allocations: 4 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.2673, allocations: 11.97 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2673, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.2673, allocations: 87.28 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2673, allocations: 0 / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002806/0.2676, allocations: 35.92 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006018/0.2682, allocations: 0.7797 MB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.762e-05/0.2683, allocations: 35.92 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2683, allocations: 0 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.2684, allocations: 8 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2686, allocations: 15.92 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009923/0.2696, allocations: 1.271 MB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2698, allocations: 0.6809 MB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.2698, allocations: 8.234 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.2699, allocations: 15.44 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.2699, allocations: 0 / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.2811, allocations: 1.841 MB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.2813, allocations: 255.9 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.854, allocations: 0 / 1.062 GB, free: 14.1 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y