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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 104.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 75.88 kB / 1.056 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8482, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002588/0.8508, allocations: 1.214 MB / 1.214 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.8517, allocations: 426.4 kB / 1.214 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.8518, allocations: 8.75 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.8518, allocations: 0 / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.8518, allocations: 0.8438 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.8524, allocations: 108.5 kB / 1.215 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.8524, allocations: 12.64 kB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.8525, allocations: 6.281 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.8525, allocations: 7.938 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.8525, allocations: 10.09 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.8525, allocations: 2.031 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.8528, allocations: 111.6 kB / 1.215 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.8528, allocations: 5.922 kB / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.8528, allocations: 10.12 kB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.853, allocations: 92.2 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8531, allocations: 0 / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8531, allocations: 1.125 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.8531, allocations: 0 / 1.215 GB, free: 2.34 MB / 0.92 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.0006039/0.8537, allocations: 384.7 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.8537, allocations: 10.44 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/0.8538, allocations: 39.52 kB / 1.215 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.8538, allocations: 6.516 kB / 1.215 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.854, allocations: 169.8 kB / 1.215 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.854, allocations: 5.781 kB / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.854, allocations: 3.656 kB / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.8542, allocations: 43.67 kB / 1.215 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.8542, allocations: 9.016 kB / 1.215 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.8542, allocations: 4 kB / 1.215 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8542, allocations: 1.062 kB / 1.215 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.8542, allocations: 7.219 kB / 1.215 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.8546, allocations: 244.6 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.8547, allocations: 39.97 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.8548, allocations: 15.61 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.8548, allocations: 5.203 kB / 1.216 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.855, allocations: 56.91 kB / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.855, allocations: 0 / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002357/0.8552, allocations: 80.78 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.8553, allocations: 53.25 kB / 1.216 GB, free: 1.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.8554, allocations: 99.33 kB / 1.216 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.8554, allocations: 26.8 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.8555, allocations: 88.11 kB / 1.216 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.8555, allocations: 17.97 kB / 1.216 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.8555, allocations: 23.56 kB / 1.216 GB, free: 0.832 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8557, allocations: 321 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.8557, allocations: 5.344 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.8558, allocations: 39.5 kB / 1.217 GB, free: 480 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/0.8558, allocations: 49.47 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8558, allocations: 4.719 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.856, allocations: 70.14 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.856, allocations: 6.188 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.856, allocations: 1.594 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.856, allocations: 1.125 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.8561, allocations: 11.12 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8561, allocations: 2.062 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.8561, allocations: 5.188 kB / 1.217 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.8561, allocations: 11.17 kB / 1.217 GB, free: 360 kB / 0.92 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 0.0001073/0.8562, allocations: 116 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.8562, allocations: 6.328 kB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.8563, allocations: 8.625 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.8563, allocations: 3.984 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8563, allocations: 0.9375 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8563, allocations: 0 / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.8566, allocations: 301.7 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8566, allocations: 4.312 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.8566, allocations: 7.219 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8566, allocations: 1.156 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8566, allocations: 1 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8566, allocations: 3.938 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8566, allocations: 0.8125 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.8568, allocations: 167.3 kB / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.8569, allocations: 86.12 kB / 1.217 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8569, allocations: 5.031 kB / 1.217 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.857, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.857, allocations: 10.3 kB / 1.217 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.857, allocations: 1.938 kB / 1.217 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.857, allocations: 78.5 kB / 1.217 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.857, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003019/0.8574, allocations: 38.67 kB / 1.218 GB, free: 15.51 MB / 0.9356 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.0007893/0.8581, allocations: 0.7619 MB / 1.218 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.8583, allocations: 30.95 kB / 1.218 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8583, allocations: 0 / 1.218 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.8583, allocations: 13.03 kB / 1.218 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.8585, allocations: 13.05 kB / 1.218 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.8598, allocations: 1.282 MB / 1.22 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.8601, allocations: 0.6829 MB / 1.22 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.8601, allocations: 5.406 kB / 1.22 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.8602, allocations: 10.47 kB / 1.22 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.8602, allocations: 0 / 1.22 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.8849, allocations: 2.026 MB / 1.222 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.973, allocations: 2.578 kB / 1.222 GB, free: 11.65 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y [Calling sys.exit(0), Time elapsed: 14.822215170133859]