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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007698/0.007698, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001773/0.001773, allocations: 189.2 kB / 16.67 MB, free: 5.422 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.89 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8662, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002793/0.8691, allocations: 1.213 MB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.8701, allocations: 425 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.8701, allocations: 3.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.8702, allocations: 4 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.8702, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006647/0.8709, allocations: 111.6 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.871, allocations: 11.98 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.8711, allocations: 0 / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.8711, allocations: 8 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.8711, allocations: 11.92 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.8711, allocations: 0 / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.8714, allocations: 103.8 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.8714, allocations: 7.969 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.8715, allocations: 11.94 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.8717, allocations: 99.75 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8717, allocations: 0 / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8717, allocations: 0 / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.8718, allocations: 3.984 kB / 1.168 GB, free: 1.77 MB / 0.8887 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.0005178/0.8723, allocations: 379.4 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8723, allocations: 8.922 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.8724, allocations: 38.73 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.8724, allocations: 0.9375 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.8726, allocations: 168.3 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.8726, allocations: 4.375 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.8726, allocations: 8.312 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.8727, allocations: 42.23 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.8727, allocations: 3.938 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.8728, allocations: 0 / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8728, allocations: 0 / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.8728, allocations: 8 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.8731, allocations: 252.8 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/0.8732, allocations: 42.44 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.8733, allocations: 16.95 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.8733, allocations: 3.984 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.8735, allocations: 59.41 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.8735, allocations: 4 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002127/0.8737, allocations: 73.61 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.8738, allocations: 55.41 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.8738, allocations: 98 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.8739, allocations: 29.69 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.8739, allocations: 84.14 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.8739, allocations: 11.81 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.874, allocations: 21.72 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8741, allocations: 322.8 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.8741, allocations: 4 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.8742, allocations: 35.42 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.005e-05/0.8742, allocations: 51.41 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8742, allocations: 7.938 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001011/0.8743, allocations: 69.61 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8744, allocations: 11.94 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8744, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8744, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.8745, allocations: 8 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8745, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.8745, allocations: 7.906 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.8745, allocations: 7.984 kB / 1.17 GB, free: 15.6 MB / 0.9044 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 7.465e-05/0.8746, allocations: 117.8 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.8746, allocations: 4 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.8747, allocations: 7.562 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8747, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8747, allocations: 3.938 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.8747, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.875, allocations: 310.4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.875, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.875, allocations: 4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.875, allocations: 4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.875, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.875, allocations: 4.312 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.875, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.8752, allocations: 171.4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.8753, allocations: 81.02 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.8753, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.262e-05/0.8754, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.8754, allocations: 11.98 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.8754, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.8755, allocations: 79.28 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8755, allocations: 0 / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003099/0.8758, allocations: 39.92 kB / 1.171 GB, free: 14.67 MB / 0.9044 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.0007129/0.8765, allocations: 0.7672 MB / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.8766, allocations: 31.98 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8766, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.8767, allocations: 15.94 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.8769, allocations: 11.92 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.878, allocations: 1.265 MB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.8782, allocations: 0.6768 MB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.8783, allocations: 4 kB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.8783, allocations: 11.44 kB / 1.173 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8783, allocations: 4 kB / 1.173 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.8973, allocations: 2.002 MB / 1.175 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.67, allocations: 23.44 kB / 1.175 GB, free: 9.82 MB / 0.9044 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