Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_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.001527/0.001527, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.434/2.434, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.52 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2674, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00247/0.2699, allocations: 1.23 MB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.2708, allocations: 422.6 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.2708, allocations: 0 / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.2708, allocations: 0 / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.2709, allocations: 3.938 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.2714, allocations: 111.6 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.2715, allocations: 12 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.2715, allocations: 3.984 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/0.2715, allocations: 11.94 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.453e-05/0.2716, allocations: 7.984 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2716, allocations: 0 / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.2718, allocations: 111.8 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.2718, allocations: 0 / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.2718, allocations: 11.92 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.272, allocations: 91.88 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.272, allocations: 4 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.272, allocations: 0 / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2721, allocations: 4 kB / 1.055 GB, free: 6.242 MB / 0.8106 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.0004422/0.2725, allocations: 377.4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2725, allocations: 8.625 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.2726, allocations: 38.59 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.2726, allocations: 4.938 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.2727, allocations: 164.4 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2727, allocations: 384 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2728, allocations: 12.38 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.506e-05/0.2729, allocations: 42.19 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2729, allocations: 3.938 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2729, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2729, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.2729, allocations: 11.98 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.2732, allocations: 244.9 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.222e-05/0.2733, allocations: 34.52 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.2734, allocations: 20.94 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2734, allocations: 7.984 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.2735, allocations: 51.41 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.2735, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001975/0.2737, allocations: 85.52 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2738, allocations: 51.41 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.2738, allocations: 105.8 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2739, allocations: 25.7 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.2739, allocations: 80.14 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2739, allocations: 15.84 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.274, allocations: 21.7 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2741, allocations: 314.8 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.2741, allocations: 15.98 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.2742, allocations: 31.44 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.2742, allocations: 47.36 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2742, allocations: 11.88 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.888e-05/0.2743, allocations: 77.47 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2743, allocations: 4 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2744, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2744, allocations: 4 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.417e-05/0.2744, allocations: 11.98 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2744, allocations: 0 / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.2745, allocations: 8 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2745, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 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 7.768e-05/0.2746, allocations: 117.7 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.2746, allocations: 11.97 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.2746, allocations: 7.562 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2746, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2746, allocations: 4.234 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2746, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.2749, allocations: 302.6 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2749, allocations: 3.938 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.2749, allocations: 7.984 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2749, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2749, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2749, allocations: 4 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2749, allocations: 3.938 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2751, allocations: 159.5 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.2751, allocations: 81.38 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2751, allocations: 4 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.2752, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.2752, allocations: 3.984 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.2752, allocations: 8 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.2753, allocations: 87.27 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2753, allocations: 0 / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00027/0.2756, allocations: 35.94 kB / 1.057 GB, free: 3.16 MB / 0.8106 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.0006448/0.2762, allocations: 0.7675 MB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2763, allocations: 35.92 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2763, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.2764, allocations: 19.98 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2766, allocations: 11.81 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.2776, allocations: 1.265 MB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2778, allocations: 0.6806 MB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.2778, allocations: 4 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.2779, allocations: 11.44 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2779, allocations: 0 / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.2948, allocations: 1.971 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.753, allocations: 19.48 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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