Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 106.9 kB / 16.27 MB, free: 5.984 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.001132/0.001132, allocations: 196.2 kB / 17.2 MB, free: 5.609 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.94 kB / 0.8699 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2872, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00347/0.2908, allocations: 1.519 MB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2923, allocations: 0.7609 MB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.2924, allocations: 0 / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.2925, allocations: 7.922 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2926, allocations: 15.81 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.2933, allocations: 135.6 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.2935, allocations: 95.7 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2936, allocations: 12 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2937, allocations: 47.83 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.2938, allocations: 43.83 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.2939, allocations: 8 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.2941, allocations: 99.84 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.2942, allocations: 23.86 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.2942, allocations: 39.78 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.2945, allocations: 163.9 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2945, allocations: 0 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2946, allocations: 7.938 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.2946, allocations: 0 / 1.021 GB, free: 7.688 MB / 0.795 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.0008587/0.2954, allocations: 492.2 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2955, allocations: 12.03 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.2955, allocations: 8.844 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2957, allocations: 179.1 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2957, allocations: 16.36 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2958, allocations: 4.375 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.296, allocations: 81.95 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.296, allocations: 0 / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.296, allocations: 8 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.296, allocations: 0 / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2962, allocations: 51.91 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.2969, allocations: 336.7 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.2971, allocations: 82.7 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2972, allocations: 40.84 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.2973, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.2975, allocations: 103.2 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 3.887e-06/0.2975, allocations: 3.984 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0004565/0.298, allocations: 177.4 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2981, allocations: 59.39 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2982, allocations: 130.1 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2982, allocations: 25.7 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.2983, allocations: 96.14 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.2983, allocations: 35.53 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.2984, allocations: 37.7 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2985, allocations: 318.8 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.2986, allocations: 31.97 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2987, allocations: 73.14 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.2989, allocations: 97.06 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2989, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002705/0.2992, allocations: 145.5 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2992, allocations: 7.938 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2992, allocations: 7.938 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2992, allocations: 3.938 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2993, allocations: 15.98 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2994, allocations: 4 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2995, allocations: 15.92 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2995, allocations: 4 kB / 1.023 GB, free: 4.754 MB / 0.795 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 9.974e-05/0.2996, allocations: 129.8 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2996, allocations: 7.906 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.3, allocations: 167.5 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3, allocations: 0 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3, allocations: 0 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3, allocations: 0 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.3006, allocations: 453.8 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3007, allocations: 0 / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.3007, allocations: 15.98 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3007, allocations: 144 / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3008, allocations: 4 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3008, allocations: 7.922 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3008, allocations: 3.938 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3011, allocations: 251.4 kB / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.3012, allocations: 84.95 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.3012, allocations: 4 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3013, allocations: 11.98 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3014, allocations: 11.92 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3014, allocations: 4 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.447e-05/0.3015, allocations: 104.8 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.3015, allocations: 0 / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003434/0.3018, allocations: 47.89 kB / 1.025 GB, free: 3.367 MB / 0.795 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 (13): * Single equations (assignments): 10 * 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.0004066/0.3023, allocations: 174.7 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.3026, allocations: 95.89 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3026, allocations: 0 / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3027, allocations: 64.09 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.303, allocations: 19.97 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.3036, allocations: 244.3 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3038, allocations: 0.6963 MB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.3039, allocations: 15.44 kB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.3039, allocations: 0 / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of Templates: time 0.004241/0.3081, allocations: 1.935 MB / 1.028 GB, free: 100 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches