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.001164/0.001164, allocations: 108.3 kB / 16.27 MB, free: 6.359 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.001281/0.001281, allocations: 192.7 kB / 17.2 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.466/2.466, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.91 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2807, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003091/0.2838, allocations: 1.503 MB / 0.9517 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2853, allocations: 0.7595 MB / 0.9525 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.2854, allocations: 0 / 0.9525 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.2854, allocations: 7.875 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.2855, allocations: 15.86 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.2862, allocations: 131.5 kB / 0.9526 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.2863, allocations: 79.77 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2865, allocations: 19.97 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2866, allocations: 43.8 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.2867, allocations: 43.81 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2867, allocations: 4 kB / 0.9528 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.2869, allocations: 95.91 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.287, allocations: 15.98 kB / 0.9529 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.287, allocations: 31.8 kB / 0.9529 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.2873, allocations: 151.8 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2873, allocations: 4 kB / 0.9531 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2873, allocations: 4 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2873, allocations: 0 / 0.9531 GB, free: 5.93 MB / 0.7325 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.000791/0.2881, allocations: 454.6 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2882, allocations: 12.03 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.2882, allocations: 8.844 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2884, allocations: 184.2 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2884, allocations: 4.375 kB / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2884, allocations: 8.375 kB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2886, allocations: 81.84 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2887, allocations: 0 / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.2887, allocations: 3.984 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.2887, allocations: 0 / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2888, allocations: 47.95 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.2894, allocations: 320.6 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.2896, allocations: 70.52 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.2897, allocations: 32.84 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.2897, allocations: 0 / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.29, allocations: 99.5 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.29, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003987/0.2904, allocations: 157.5 kB / 0.9545 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.2905, allocations: 59.34 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2906, allocations: 129 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2906, allocations: 29.7 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2907, allocations: 88.38 kB / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.2907, allocations: 23.7 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.2908, allocations: 33.7 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2909, allocations: 322.8 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.291, allocations: 31.97 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.2911, allocations: 65.14 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.2913, allocations: 101.1 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2913, allocations: 0 / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002505/0.2916, allocations: 121.4 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2916, allocations: 16.11 kB / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2916, allocations: 0 / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2916, allocations: 4 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2917, allocations: 15.92 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.2918, allocations: 7.984 kB / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2919, allocations: 15.84 kB / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.2919, allocations: 11.98 kB / 0.9555 GB, free: 3.148 MB / 0.7325 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 0.0001125/0.292, allocations: 127.8 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.292, allocations: 7.906 kB / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.2924, allocations: 149.9 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2924, allocations: 384 / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2924, allocations: 8 kB / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2924, allocations: 0 / 0.9558 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.293, allocations: 442.2 kB / 0.9562 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.293, allocations: 4.031 kB / 0.9562 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.2931, allocations: 8 kB / 0.9563 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2931, allocations: 3.984 kB / 0.9563 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2931, allocations: 3.984 kB / 0.9563 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2931, allocations: 4 kB / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.2931, allocations: 3.938 kB / 0.9563 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.2934, allocations: 223.4 kB / 0.9565 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.2935, allocations: 96.94 kB / 0.9566 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2935, allocations: 0 / 0.9566 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2936, allocations: 15.92 kB / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.2937, allocations: 11.92 kB / 0.9566 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.2937, allocations: 4 kB / 0.9566 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.2938, allocations: 99.27 kB / 0.9567 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2938, allocations: 0 / 0.9567 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000345/0.2942, allocations: 40 kB / 0.9567 GB, free: 1.816 MB / 0.7325 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.0003775/0.2945, allocations: 166.9 kB / 0.9569 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.2948, allocations: 83.89 kB / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2948, allocations: 0 / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2949, allocations: 48.17 kB / 0.957 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.2952, allocations: 23.92 kB / 0.957 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.2958, allocations: 225.3 kB / 0.9573 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.2961, allocations: 0.6963 MB / 0.9579 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.2961, allocations: 23.42 kB / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2961, allocations: 0 / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of Templates: time 0.003952/0.3001, allocations: 1.835 MB / 0.9598 GB, free: 14.67 MB / 0.7481 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/jenkins1/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