Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0016/0.0016, allocations: 114.7 kB / 17.6 MB, free: 4.688 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.001942/0.001942, allocations: 189.9 kB / 20.78 MB, free: 1.52 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 63.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9521/0.9543, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002254/0.9565, allocations: 1.228 MB / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.9573, allocations: 426.1 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.9574, allocations: 4.969 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.9574, allocations: 0 / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.703e-05/0.9574, allocations: 0.75 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.9579, allocations: 110.2 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.958, allocations: 21.27 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.958, allocations: 3.016 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.9581, allocations: 10 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.133e-05/0.9581, allocations: 5.031 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.9581, allocations: 0.8125 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.9584, allocations: 110.9 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.9584, allocations: 9.953 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.9584, allocations: 12.2 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.9586, allocations: 97.56 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.9586, allocations: 0 / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9586, allocations: 4.906 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.9586, allocations: 0 / 1.273 GB, free: 6.414 MB / 0.9981 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.0004147/0.959, allocations: 376.8 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.9591, allocations: 9.438 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.9591, allocations: 40.8 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.9591, allocations: 3.656 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.437e-05/0.9592, allocations: 170.3 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.9592, allocations: 4.031 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.9592, allocations: 3.156 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.9593, allocations: 44.62 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9594, allocations: 4.781 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.9594, allocations: 0 / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.9594, allocations: 0.5625 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.9594, allocations: 7.219 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.9597, allocations: 239.7 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.243e-05/0.9597, allocations: 43.69 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.9598, allocations: 16.95 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.9598, allocations: 1.062 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.9599, allocations: 59.44 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.9599, allocations: 0 / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002138/0.9601, allocations: 78.72 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.9602, allocations: 59.55 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.9602, allocations: 99.83 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.9602, allocations: 26.55 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.9602, allocations: 84.95 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.9603, allocations: 18.28 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.9603, allocations: 19.84 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.9603, allocations: 317.8 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.9604, allocations: 7.062 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.9604, allocations: 38.14 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.9605, allocations: 52.56 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9605, allocations: 3.938 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.9606, allocations: 68.94 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.9606, allocations: 12.94 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9606, allocations: 1.031 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.9606, allocations: 1.469 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.9607, allocations: 14.47 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.9607, allocations: 1.594 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.9607, allocations: 10.05 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.9607, allocations: 1.938 kB / 1.275 GB, free: 4.512 MB / 0.9981 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.439e-05/0.9608, allocations: 120.2 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.9608, allocations: 1.688 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.9608, allocations: 12.38 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9608, allocations: 0.8125 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.9608, allocations: 0 / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.9608, allocations: 0.7188 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.961, allocations: 304.1 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.961, allocations: 0 / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.961, allocations: 3 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.961, allocations: 3.297 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.9611, allocations: 0 / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9611, allocations: 1 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9611, allocations: 4 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.9612, allocations: 173.4 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.9612, allocations: 83.69 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.9612, allocations: 3.906 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.9613, allocations: 4 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.9613, allocations: 2.062 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.9613, allocations: 1.844 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.211e-05/0.9613, allocations: 83.86 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9613, allocations: 0 / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003097/0.9616, allocations: 37.95 kB / 1.276 GB, free: 3.711 MB / 0.9981 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.0005769/0.9622, allocations: 0.7758 MB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.9623, allocations: 31.98 kB / 1.277 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9623, allocations: 0 / 1.277 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.9624, allocations: 17 kB / 1.277 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.9626, allocations: 2.156 kB / 1.277 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.9635, allocations: 1.274 MB / 1.278 GB, free: 17.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.9639, allocations: 0.6784 MB / 1.279 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.9639, allocations: 4.578 kB / 1.279 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.9639, allocations: 14.3 kB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.9639, allocations: 0 / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.9911, allocations: 2.003 MB / 1.281 GB, free: 16.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/9.244, allocations: 2.062 kB / 1.281 GB, free: 16.57 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.47411056398414]