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.001077/0.001077, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008492/0.008493, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.538/2.538, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.00032, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5272, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.0009317/0.5282, allocations: 0.9448 MB / 0.9561 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006791/0.5289, allocations: 408 kB / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.5289, allocations: 0 / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.5289, allocations: 13 kB / 0.9565 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.529, allocations: 0 / 0.9565 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.5294, allocations: 87.62 kB / 0.9566 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.591e-05/0.5294, allocations: 16.2 kB / 0.9566 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.5295, allocations: 1.219 kB / 0.9566 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.5295, allocations: 8.609 kB / 0.9566 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.5295, allocations: 14.08 kB / 0.9566 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.5295, allocations: 1.219 kB / 0.9566 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.5297, allocations: 101 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.5297, allocations: 1.312 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.5298, allocations: 40.8 kB / 0.9567 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.5299, allocations: 98.3 kB / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5299, allocations: 0 / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.53, allocations: 1.562 kB / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.53, allocations: 0 / 0.9568 GB, free: 6.449 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.0003284/0.5303, allocations: 367.8 kB / 0.9572 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.5303, allocations: 9.625 kB / 0.9572 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.5304, allocations: 39.86 kB / 0.9572 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.5304, allocations: 2.125 kB / 0.9572 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.5305, allocations: 173.5 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5305, allocations: 2.719 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.5305, allocations: 2.938 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.986e-05/0.5306, allocations: 39.44 kB / 0.9574 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5306, allocations: 5.094 kB / 0.9574 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5307, allocations: 3.984 kB / 0.9575 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5307, allocations: 5.125 kB / 0.9575 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.5307, allocations: 3.562 kB / 0.9575 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.5309, allocations: 260 kB / 0.9577 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.544e-05/0.531, allocations: 34.62 kB / 0.9577 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.5311, allocations: 16.33 kB / 0.9578 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.5311, allocations: 1.25 kB / 0.9578 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.5312, allocations: 60.89 kB / 0.9578 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.5312, allocations: 0 / 0.9578 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001813/0.5314, allocations: 73.56 kB / 0.9579 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.5314, allocations: 57.33 kB / 0.9579 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.5315, allocations: 95.11 kB / 0.958 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.5315, allocations: 29.7 kB / 0.9581 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.7e-05/0.5315, allocations: 81.17 kB / 0.9581 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.5315, allocations: 17.92 kB / 0.9582 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.5316, allocations: 13.34 kB / 0.9582 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.5316, allocations: 318.8 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.5316, allocations: 9.984 kB / 0.9585 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.5317, allocations: 38.95 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.5317, allocations: 50.67 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5317, allocations: 7.938 kB / 0.9586 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.806e-05/0.5318, allocations: 75.41 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5318, allocations: 8.578 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5319, allocations: 1.438 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5319, allocations: 1.5 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.5319, allocations: 11.31 kB / 0.9587 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5319, allocations: 2.25 kB / 0.9587 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.532, allocations: 5.531 kB / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.532, allocations: 6.719 kB / 0.9587 GB, free: 4.488 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.769e-05/0.532, allocations: 124.5 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.532, allocations: 1.781 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.5321, allocations: 7.547 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5321, allocations: 1.562 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5321, allocations: 0 / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5321, allocations: 1.25 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.5322, allocations: 300.9 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5323, allocations: 0 / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.5323, allocations: 11.78 kB / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5323, allocations: 0 / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.5323, allocations: 1.5 kB / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.5323, allocations: 0 / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5323, allocations: 0 / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.775e-05/0.5324, allocations: 171.2 kB / 0.9593 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.5324, allocations: 78.33 kB / 0.9594 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.5324, allocations: 1.5 kB / 0.9594 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.5325, allocations: 8 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.5325, allocations: 2.438 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.5325, allocations: 5.422 kB / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.701e-05/0.5325, allocations: 78.31 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5326, allocations: 0 / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002488/0.5328, allocations: 39.97 kB / 0.9595 GB, free: 3.664 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.0004433/0.5333, allocations: 0.7742 MB / 0.9602 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.5333, allocations: 40.53 kB / 0.9603 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5334, allocations: 0 / 0.9603 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.5334, allocations: 13.62 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.5336, allocations: 1.375 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.5343, allocations: 1.27 MB / 0.9615 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.202e-05/0.5344, allocations: 0.6837 MB / 0.9622 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.834e-05/0.5344, allocations: 5.625 kB / 0.9622 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.5345, allocations: 10.19 kB / 0.9622 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5345, allocations: 0 / 0.9622 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/0.838, allocations: 1.764 MB / 0.9639 GB, free: 64 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.8382, allocations: 240.5 kB / 0.9642 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.881, allocations: 0 / 0.9642 GB, free: 15.81 MB / 0.7325 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