Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: 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_latest_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_latest_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.001452/0.001452, allocations: 116.7 kB / 16.37 MB, free: 6 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.001648/0.001648, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 60.45 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2803, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002412/0.2828, allocations: 1.517 MB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2839, allocations: 0.7594 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.284, allocations: 8 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.284, allocations: 3.938 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.2841, allocations: 19.78 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.2846, allocations: 127.6 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2847, allocations: 79.72 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.2848, allocations: 15.98 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.2849, allocations: 43.84 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.285, allocations: 39.83 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.285, allocations: 4 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2852, allocations: 99.84 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.2852, allocations: 19.92 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.2852, allocations: 35.78 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.2855, allocations: 151.6 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2855, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2855, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.2855, allocations: 0 / 1.03 GB, free: 15.14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006456/0.2862, allocations: 454.7 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2862, allocations: 8.031 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.2862, allocations: 8.844 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2864, allocations: 184.2 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2864, allocations: 4.375 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2864, allocations: 4.375 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2866, allocations: 81.94 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.2866, allocations: 7.938 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2866, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2866, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.2868, allocations: 47.91 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.2873, allocations: 324.5 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2874, allocations: 66.55 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.2875, allocations: 32.84 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2875, allocations: 4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.2877, allocations: 95.39 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.2877, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003746/0.2881, allocations: 153.5 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2882, allocations: 63.41 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.2883, allocations: 125.8 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2883, allocations: 33.7 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.2883, allocations: 88.28 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.2884, allocations: 19.8 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.2884, allocations: 33.7 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.2885, allocations: 322.8 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.2886, allocations: 31.98 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.2887, allocations: 65.14 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2889, allocations: 105 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2889, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/0.2891, allocations: 129.3 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2891, allocations: 8 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2891, allocations: 3.984 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2892, allocations: 4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2893, allocations: 16.11 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2893, allocations: 8.312 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2894, allocations: 19.92 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2894, allocations: 4 kB / 1.032 GB, free: 12.36 MB / 0.8106 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 9.073e-05/0.2895, allocations: 125.7 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.2895, allocations: 15.84 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.2899, allocations: 145.9 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2899, allocations: 8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2899, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.2899, allocations: 8.062 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.2905, allocations: 434.5 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2905, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.2906, allocations: 15.92 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2906, allocations: 0 / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2906, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2906, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2906, allocations: 3.938 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.2909, allocations: 223.4 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.291, allocations: 88.95 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.291, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2911, allocations: 11.98 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.2912, allocations: 19.86 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2912, allocations: 4 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.2912, allocations: 102.3 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2912, allocations: 0 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003229/0.2916, allocations: 43.98 kB / 1.033 GB, free: 11.02 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: 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.0003234/0.2919, allocations: 164.9 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.2922, allocations: 87.83 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2922, allocations: 0 / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.2923, allocations: 47.92 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.2926, allocations: 11.98 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.293, allocations: 203.9 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2932, allocations: 0.6924 MB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.2933, allocations: 8.422 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.2933, allocations: 15.44 kB / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of SimCode: time 1.443e-06/0.2933, allocations: 0 / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of Templates: time 0.004292/0.2976, allocations: 1.808 MB / 1.036 GB, free: 7.953 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches