Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001454/0.001454, allocations: 198.2 kB / 16.14 MB, free: 6.746 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.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.432/2.432, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7166/0.7178, allocations: 140.4 MB / 0.9489 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002676/0.7205, allocations: 1.596 MB / 0.9505 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.7218, allocations: 0.774 MB / 0.9512 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.7219, allocations: 3.938 kB / 0.9512 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.722, allocations: 1.375 kB / 0.9512 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.7221, allocations: 13.2 kB / 0.9512 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.7226, allocations: 119.8 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.7227, allocations: 90.05 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7228, allocations: 18.81 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.7229, allocations: 42.09 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.723, allocations: 45.89 kB / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.723, allocations: 4.75 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.7232, allocations: 90.59 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.7232, allocations: 18.86 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.7233, allocations: 52.17 kB / 0.9517 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.7235, allocations: 152.9 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7235, allocations: 0 / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7236, allocations: 0 / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.7236, allocations: 1.375 kB / 0.9519 GB, free: 6.828 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007516/0.7243, allocations: 0.4975 MB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.7244, allocations: 8.906 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.7244, allocations: 14.28 kB / 0.9524 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.7246, allocations: 201.6 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7246, allocations: 3.688 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.7246, allocations: 4.5 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.7248, allocations: 87.48 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7248, allocations: 1.062 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.7249, allocations: 0 / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7249, allocations: 1.781 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.725, allocations: 49.55 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.7255, allocations: 333.6 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.7257, allocations: 80.94 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.7258, allocations: 39.06 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.7259, allocations: 5.25 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.7261, allocations: 106.5 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.7261, allocations: 0 / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004195/0.7265, allocations: 171.9 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.7266, allocations: 52.78 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.7267, allocations: 144.8 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.7267, allocations: 34.89 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.7267, allocations: 100.3 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.7268, allocations: 31.48 kB / 0.9537 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.7268, allocations: 35.83 kB / 0.9538 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.7269, allocations: 326 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.727, allocations: 31.98 kB / 0.9541 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.7271, allocations: 73.69 kB / 0.9542 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.7272, allocations: 98.7 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7272, allocations: 1.312 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002323/0.7275, allocations: 142.4 kB / 0.9544 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7275, allocations: 10.33 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7275, allocations: 1.406 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7275, allocations: 2.375 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.7276, allocations: 19.64 kB / 0.9545 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7277, allocations: 6.203 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.7278, allocations: 15.27 kB / 0.9545 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.7278, allocations: 8.438 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.924e-05/0.7279, allocations: 128 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.7279, allocations: 9.5 kB / 0.9546 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.7282, allocations: 175.1 kB / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7282, allocations: 2.469 kB / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7283, allocations: 0 / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7283, allocations: 0 / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.7288, allocations: 469.5 kB / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7288, allocations: 3.984 kB / 0.9552 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.7289, allocations: 11.22 kB / 0.9552 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7289, allocations: 1.531 kB / 0.9552 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.7289, allocations: 5.203 kB / 0.9553 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7289, allocations: 0 / 0.9553 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7289, allocations: 5.062 kB / 0.9553 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.7292, allocations: 253.9 kB / 0.9555 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.7292, allocations: 88.2 kB / 0.9556 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.7293, allocations: 2.094 kB / 0.9556 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.7294, allocations: 12.92 kB / 0.9556 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.7295, allocations: 13.33 kB / 0.9556 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.7295, allocations: 8.172 kB / 0.9556 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.7295, allocations: 104.1 kB / 0.9557 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7295, allocations: 4 kB / 0.9557 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003193/0.7299, allocations: 49.39 kB / 0.9558 GB, free: 3.297 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003465/0.7302, allocations: 162.9 kB / 0.9559 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.7305, allocations: 94.86 kB / 0.956 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7305, allocations: 0 / 0.956 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.7306, allocations: 57.52 kB / 0.9561 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.731, allocations: 17.98 kB / 0.9561 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.7315, allocations: 262.4 kB / 0.9563 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.7316, allocations: 0.7003 MB / 0.957 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.644e-05/0.7317, allocations: 16.23 kB / 0.957 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.7317, allocations: 12.84 kB / 0.957 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7317, allocations: 0 / 0.957 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of Templates: time 0.004562/0.7363, allocations: 1.875 MB / 0.9589 GB, free: 1.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches