Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_9_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.007777/0.007777, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001353/0.001353, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8451, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00259/0.8477, allocations: 1.222 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.8486, allocations: 414.7 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.8486, allocations: 3.938 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.8486, allocations: 0 / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.8487, allocations: 3.938 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.8492, allocations: 107.3 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.8493, allocations: 15.47 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.8494, allocations: 10.88 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.8494, allocations: 8.906 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.8494, allocations: 9.391 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.8495, allocations: 1.469 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.8497, allocations: 99.58 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.8497, allocations: 3.031 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.8498, allocations: 17.33 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.85, allocations: 98.5 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.85, allocations: 4 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.85, allocations: 0 / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.85, allocations: 0.9688 kB / 1.089 GB, free: 4.016 MB / 0.8575 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.0004444/0.8504, allocations: 379.2 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8505, allocations: 9.719 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.8506, allocations: 37.11 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.8506, allocations: 3.219 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.306e-05/0.8507, allocations: 167.6 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.8507, allocations: 5.906 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.8507, allocations: 6.609 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.8508, allocations: 37.44 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.8508, allocations: 5.031 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.8509, allocations: 0.6562 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8509, allocations: 1.156 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.8509, allocations: 12.89 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.8512, allocations: 243.7 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.8513, allocations: 40.67 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.8513, allocations: 18.92 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.8514, allocations: 0.9688 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.8515, allocations: 59.39 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 2.805e-06/0.8515, allocations: 0 / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002234/0.8517, allocations: 83.44 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.8518, allocations: 53.7 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.8519, allocations: 101.8 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.8519, allocations: 26.83 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.8519, allocations: 80.84 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.8519, allocations: 15.95 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.852, allocations: 20.36 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.852, allocations: 318.6 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.8521, allocations: 14.8 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.8521, allocations: 37.14 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.8522, allocations: 49.61 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8522, allocations: 3.938 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.8523, allocations: 77.52 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8523, allocations: 5.594 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8523, allocations: 1.031 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.8524, allocations: 1.781 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.8524, allocations: 12.41 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8524, allocations: 1.75 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.8525, allocations: 5.938 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.8525, allocations: 3.984 kB / 1.091 GB, free: 2.117 MB / 0.8575 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.14e-05/0.8525, allocations: 119.8 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.8526, allocations: 12.88 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.8526, allocations: 5.938 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8526, allocations: 1.125 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8526, allocations: 0 / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8526, allocations: 1.422 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.8529, allocations: 303.5 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8529, allocations: 0.7812 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.8529, allocations: 7.297 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8529, allocations: 1.062 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.8529, allocations: 6.453 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8529, allocations: 0 / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8529, allocations: 0 / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.8531, allocations: 162.3 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.8531, allocations: 82.78 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.8531, allocations: 1.734 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.8532, allocations: 4.594 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.8532, allocations: 6.625 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.8532, allocations: 7.109 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.8533, allocations: 80.11 kB / 1.092 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8533, allocations: 0 / 1.092 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003174/0.8536, allocations: 36.86 kB / 1.092 GB, free: 1.316 MB / 0.8575 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.0007645/0.8544, allocations: 0.7637 MB / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.8545, allocations: 37.05 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8545, allocations: 0 / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.8546, allocations: 14.78 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.8548, allocations: 4.156 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.8562, allocations: 1.275 MB / 1.094 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.8568, allocations: 0.681 MB / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.8568, allocations: 3.406 kB / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.8569, allocations: 14.47 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8569, allocations: 0 / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.8782, allocations: 2.003 MB / 1.097 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.748, allocations: 2.812 kB / 1.097 GB, free: 14.17 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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