Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, 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.0019/0.001901, allocations: 195 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.389/2.389, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.8139, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002666/0.8166, allocations: 1.501 MB / 0.951 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.8178, allocations: 0.768 MB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.8179, allocations: 0 / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.8179, allocations: 3.938 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.818, allocations: 22 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.8186, allocations: 122.5 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.8187, allocations: 87.14 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.8188, allocations: 14.17 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.744e-05/0.8189, allocations: 47.27 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.8189, allocations: 34.81 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.819, allocations: 6.75 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.8191, allocations: 95.06 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.8192, allocations: 14.83 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.8192, allocations: 49.61 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.8195, allocations: 146 kB / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.8195, allocations: 0 / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8195, allocations: 1.344 kB / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8195, allocations: 0 / 0.9524 GB, free: 7.031 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006139/0.8201, allocations: 461.5 kB / 0.9528 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.8201, allocations: 9.062 kB / 0.9529 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.8202, allocations: 9.156 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.8203, allocations: 181.7 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.8203, allocations: 5.844 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.8204, allocations: 4.219 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.8205, allocations: 82.61 kB / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.8205, allocations: 0 / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.8206, allocations: 0 / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8206, allocations: 1.5 kB / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.8207, allocations: 41.94 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.8212, allocations: 329.4 kB / 0.9535 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.8213, allocations: 59.97 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/0.8214, allocations: 32.69 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.8214, allocations: 5.172 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.8216, allocations: 103.8 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.8217, allocations: 1.469 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003914/0.822, allocations: 153 kB / 0.9538 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.8221, allocations: 58.31 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.8222, allocations: 123.8 kB / 0.954 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.8222, allocations: 31.05 kB / 0.954 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.8222, allocations: 90.83 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.8223, allocations: 28.44 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.8223, allocations: 31.36 kB / 0.9542 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.8224, allocations: 325.3 kB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.8224, allocations: 26.52 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.8225, allocations: 67.56 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.8227, allocations: 104.8 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8227, allocations: 3.938 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002235/0.8229, allocations: 132 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.823, allocations: 5.562 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.823, allocations: 1.094 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.823, allocations: 3.219 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.8231, allocations: 14.2 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.8231, allocations: 2 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.8232, allocations: 18.55 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.8232, allocations: 4 kB / 0.9548 GB, free: 4.727 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.74e-05/0.8233, allocations: 132.7 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.8234, allocations: 8 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.8237, allocations: 149.6 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8237, allocations: 2.281 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8237, allocations: 0 / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8237, allocations: 1.312 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.8242, allocations: 434.8 kB / 0.9555 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8242, allocations: 4 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.8243, allocations: 11.33 kB / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8243, allocations: 5.125 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.8243, allocations: 1.5 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.8243, allocations: 1.281 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8243, allocations: 3.938 kB / 0.9556 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.8245, allocations: 228.8 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.8246, allocations: 87.73 kB / 0.9559 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.8246, allocations: 1.219 kB / 0.9559 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.8247, allocations: 12.36 kB / 0.9559 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.8248, allocations: 13.42 kB / 0.9559 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.8248, allocations: 7.922 kB / 0.9559 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.8248, allocations: 98.98 kB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8248, allocations: 3.938 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003079/0.8252, allocations: 47.28 kB / 0.956 GB, free: 3.676 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0003166/0.8255, allocations: 156 kB / 0.9562 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.8257, allocations: 91.69 kB / 0.9563 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8258, allocations: 256 / 0.9563 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.8259, allocations: 57.69 kB / 0.9563 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.8262, allocations: 11.5 kB / 0.9563 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.8266, allocations: 201.7 kB / 0.9565 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.8267, allocations: 0.6963 MB / 0.9572 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.8268, allocations: 11.48 kB / 0.9572 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.8268, allocations: 16.02 kB / 0.9572 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8268, allocations: 3.938 kB / 0.9572 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of Templates: time 0.004422/0.8312, allocations: 1.802 MB / 0.959 GB, free: 1.68 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches