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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008814/0.008814, allocations: 109.6 kB / 15.74 MB, free: 5.984 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.001549/0.001549, allocations: 193.7 kB / 16.68 MB, free: 5.906 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.906/2.906, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3192, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002627/0.3219, allocations: 1.213 MB / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.3228, allocations: 418.5 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.3229, allocations: 4 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.3229, allocations: 0 / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.323, allocations: 3.938 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.3236, allocations: 99.64 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.3237, allocations: 19.98 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.3237, allocations: 0 / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.3238, allocations: 15.92 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.3238, allocations: 4 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3238, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.3241, allocations: 103.8 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.3241, allocations: 15.92 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3242, allocations: 4 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.3244, allocations: 95.8 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3244, allocations: 0 / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3244, allocations: 4 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3245, allocations: 0 / 1.209 GB, free: 8.184 MB / 0.9669 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.0005886/0.3251, allocations: 394.1 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.3251, allocations: 8.625 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.3252, allocations: 30.75 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3252, allocations: 8.938 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3254, allocations: 164.3 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3254, allocations: 384 / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3254, allocations: 4.375 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3256, allocations: 50.22 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3256, allocations: 3.938 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3256, allocations: 0 / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3256, allocations: 0 / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.45e-05/0.3256, allocations: 7.938 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.326, allocations: 249 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.3261, allocations: 38.5 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.3261, allocations: 16.94 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3261, allocations: 4 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3263, allocations: 59.34 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3263, allocations: 0 / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.000196/0.3265, allocations: 73.67 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3265, allocations: 51.41 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.3266, allocations: 105.8 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3266, allocations: 25.7 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.3267, allocations: 80.14 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.3267, allocations: 23.69 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.3267, allocations: 21.72 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.3268, allocations: 314.8 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.3269, allocations: 12 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.3269, allocations: 39.36 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.327, allocations: 47.44 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.327, allocations: 3.938 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001038/0.3271, allocations: 73.83 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3271, allocations: 4 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3271, allocations: 4 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3271, allocations: 0 / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.3272, allocations: 11.94 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3272, allocations: 3.984 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.3272, allocations: 15.89 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3273, allocations: 320 / 1.211 GB, free: 6.008 MB / 0.9669 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.887e-05/0.3273, allocations: 121.7 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.3273, allocations: 0 / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.3274, allocations: 11.56 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3274, allocations: 0 / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3274, allocations: 4 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3274, allocations: 0 / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.3276, allocations: 302.5 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3277, allocations: 0 / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.3277, allocations: 8 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3277, allocations: 0 / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3277, allocations: 0 / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3277, allocations: 3.938 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3277, allocations: 3.984 kB / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3279, allocations: 163.4 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.3279, allocations: 81.11 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3279, allocations: 0 / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.328, allocations: 7.984 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.328, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.328, allocations: 4 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.3281, allocations: 83.28 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3281, allocations: 0 / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003198/0.3284, allocations: 35.92 kB / 1.212 GB, free: 5.098 MB / 0.9669 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.0007525/0.3291, allocations: 0.7695 MB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3293, allocations: 39.86 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3293, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.3293, allocations: 16 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3296, allocations: 8.25 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3307, allocations: 1.289 MB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.331, allocations: 0.6807 MB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.331, allocations: 3.906 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.331, allocations: 11.44 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.331, allocations: 7.938 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.3483, allocations: 2.016 MB / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.958, allocations: 4.578 kB / 1.217 GB, free: 216 kB / 0.9669 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