Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_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.001274/0.001274, 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.001622/0.001622, allocations: 193.2 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 71.89 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5618, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002008/0.5639, allocations: 1.28 MB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007008/0.5646, allocations: 434.6 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.5646, allocations: 0 / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.5647, allocations: 0 / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.47e-05/0.5647, allocations: 3.938 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.565, allocations: 87.78 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.527e-05/0.5651, allocations: 16 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.864e-05/0.5651, allocations: 4 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.5652, allocations: 15.92 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.819e-05/0.5652, allocations: 0 / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.5652, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.5654, allocations: 103.8 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.5654, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.5654, allocations: 11.92 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.5656, allocations: 87.88 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.5656, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5656, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.5656, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 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.0003364/0.5659, allocations: 387.4 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.566, allocations: 8.031 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.566, allocations: 34.75 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.566, allocations: 4.844 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.244e-05/0.5661, allocations: 168.3 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5661, allocations: 8.359 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.5662, allocations: 384 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.5663, allocations: 46.31 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.5663, allocations: 3.938 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.5663, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.5663, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.5663, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.5666, allocations: 252.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/0.5667, allocations: 42.45 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.5667, allocations: 20.94 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.5667, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.5668, allocations: 51.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5668, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001741/0.567, allocations: 85.52 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.5671, allocations: 59.41 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.5671, allocations: 97.84 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.5671, allocations: 29.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.5672, allocations: 80.14 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.5672, allocations: 11.91 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.5672, allocations: 21.7 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.5673, allocations: 314.8 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.5673, allocations: 8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.5674, allocations: 39.42 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.5674, allocations: 55.53 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5674, allocations: 7.875 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.652e-05/0.5675, allocations: 69.53 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5676, allocations: 12 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5676, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.5676, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.5676, allocations: 11.98 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.5676, allocations: 160 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.5677, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.5677, allocations: 11.98 kB / 1.021 GB, free: 14.53 MB / 0.7794 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 5.792e-05/0.5677, allocations: 110.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.5678, allocations: 7.906 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.5678, allocations: 11.56 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5678, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5678, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-06/0.5678, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.568, allocations: 306.4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.568, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.5681, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5681, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5681, allocations: 3.984 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.5681, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5681, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.5682, allocations: 167.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.5683, allocations: 77.11 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.5683, allocations: 3.984 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.5683, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.5683, allocations: 7.938 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.5684, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.5684, allocations: 87.27 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5684, allocations: 4 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000262/0.5687, allocations: 31.94 kB / 1.021 GB, free: 13.62 MB / 0.7794 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.0005548/0.5692, allocations: 0.7754 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.871e-05/0.5693, allocations: 31.98 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.5693, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.5694, allocations: 15.92 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.5696, allocations: 9.562 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/0.5704, allocations: 1.259 MB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.5706, allocations: 0.677 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.5706, allocations: 4.25 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.5707, allocations: 15.44 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5707, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.54/2.111, allocations: 1.849 MB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/2.111, allocations: 249.9 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/3.88, allocations: 0 / 1.026 GB, free: 8.68 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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