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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00134/0.001341, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.082/2.082, allocations: 390.2 MB / 0.6643 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.05 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5322, allocations: 140.4 MB / 0.949 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001792/0.5341, allocations: 1.284 MB / 0.9503 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.5347, allocations: 422.1 kB / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.5347, allocations: 0 / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.5347, allocations: 1.375 kB / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.5348, allocations: 0 / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.5351, allocations: 91.28 kB / 0.9508 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.087e-05/0.5352, allocations: 16.19 kB / 0.9508 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.5352, allocations: 5.359 kB / 0.9508 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.797e-05/0.5353, allocations: 12.06 kB / 0.9508 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.5353, allocations: 10.72 kB / 0.9508 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.5353, allocations: 1.375 kB / 0.9508 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.5355, allocations: 101.5 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.5355, allocations: 5.469 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.5355, allocations: 10.23 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.5357, allocations: 90.03 kB / 0.951 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5357, allocations: 5.188 kB / 0.951 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5357, allocations: 0 / 0.951 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.5357, allocations: 0 / 0.951 GB, free: 7.84 MB / 0.7169 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.0003296/0.536, allocations: 383.9 kB / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5361, allocations: 9.688 kB / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.5361, allocations: 30.75 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.5361, allocations: 8.188 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.415e-05/0.5362, allocations: 164.4 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.5362, allocations: 3.25 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.5362, allocations: 5.688 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.5363, allocations: 45.16 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.5363, allocations: 3.938 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.5363, allocations: 0 / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.5364, allocations: 1.438 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.5364, allocations: 7.797 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.5366, allocations: 247.6 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.5367, allocations: 41.58 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.5367, allocations: 21.25 kB / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.5367, allocations: 0 / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.597e-05/0.5368, allocations: 56.97 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.5369, allocations: 0 / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001677/0.537, allocations: 74.02 kB / 0.9521 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.5371, allocations: 60.75 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.128e-05/0.5371, allocations: 102.9 kB / 0.9522 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.5371, allocations: 29.7 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.464e-05/0.5371, allocations: 81.36 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.5371, allocations: 10.41 kB / 0.9524 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.5372, allocations: 22.86 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.55e-05/0.5372, allocations: 313.2 kB / 0.9527 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.5372, allocations: 16.95 kB / 0.9527 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.5373, allocations: 35.73 kB / 0.9527 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.5373, allocations: 53.69 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5373, allocations: 9.25 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.61e-05/0.5374, allocations: 73.75 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.5374, allocations: 5.531 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5374, allocations: 1.406 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.5375, allocations: 1.75 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.5375, allocations: 15.42 kB / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5375, allocations: 1.156 kB / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.5376, allocations: 6 kB / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.5376, allocations: 3.094 kB / 0.9529 GB, free: 5.871 MB / 0.7169 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 4.295e-05/0.5376, allocations: 115.9 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.5376, allocations: 6.312 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.5376, allocations: 8.594 kB / 0.953 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5377, allocations: 0 / 0.953 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5377, allocations: 4.859 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.5377, allocations: 0 / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.5378, allocations: 302.7 kB / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5378, allocations: 0 / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.5379, allocations: 7.109 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5379, allocations: 0 / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.5379, allocations: 1.844 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.5379, allocations: 4 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5379, allocations: 0 / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.538, allocations: 167.4 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.538, allocations: 82.31 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.538, allocations: 1.25 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.5381, allocations: 3.938 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.5381, allocations: 2.188 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.5381, allocations: 1.531 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.5381, allocations: 90.2 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5382, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002558/0.5384, allocations: 35.84 kB / 0.9537 GB, free: 5.047 MB / 0.7169 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.0004524/0.5389, allocations: 0.7696 MB / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.065e-05/0.539, allocations: 32.02 kB / 0.9545 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.539, allocations: 0 / 0.9545 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.539, allocations: 21.83 kB / 0.9545 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.5392, allocations: 5.656 kB / 0.9545 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.5399, allocations: 1.267 MB / 0.9557 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.513e-05/0.54, allocations: 0.6815 MB / 0.9564 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.54, allocations: 2.656 kB / 0.9564 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.5401, allocations: 14.19 kB / 0.9564 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.5401, allocations: 0 / 0.9564 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7802/1.32, allocations: 1.842 MB / 0.9582 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.32, allocations: 238.9 kB / 0.9584 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/4.213, allocations: 3.094 kB / 0.9584 GB, free: 1.098 MB / 0.7169 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