Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 108 kB / 15.6 MB, free: 132 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.001935/0.001935, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.61 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3696, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.004132/0.3738, allocations: 1.517 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3753, allocations: 0.7711 MB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.3753, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.3754, allocations: 7.875 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.62e-05/0.3755, allocations: 15.86 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.3761, allocations: 123.6 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3763, allocations: 87.72 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3764, allocations: 23.91 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.3765, allocations: 35.91 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.3766, allocations: 43.83 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3766, allocations: 8 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.3768, allocations: 95.84 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.3769, allocations: 23.91 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.3769, allocations: 43.78 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3772, allocations: 139.9 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3772, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3772, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.3772, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 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.0009327/0.3782, allocations: 486.5 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3782, allocations: 8.031 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.3783, allocations: 8.844 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.3785, allocations: 181.9 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.42e-05/0.3786, allocations: 34.25 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3786, allocations: 12.31 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3788, allocations: 77.7 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3789, allocations: 4 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3789, allocations: 11.98 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3789, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3791, allocations: 47.89 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.3797, allocations: 328.7 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3799, allocations: 70.62 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.3801, allocations: 36.78 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3801, allocations: 4 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.3804, allocations: 99.34 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.3804, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004918/0.3809, allocations: 165.5 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.381, allocations: 63.39 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3811, allocations: 130.1 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3812, allocations: 25.7 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.3812, allocations: 96.38 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3813, allocations: 31.78 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.3813, allocations: 25.72 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3815, allocations: 326.8 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3816, allocations: 31.97 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3817, allocations: 77.06 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.382, allocations: 101.1 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.382, allocations: 4.375 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003123/0.3823, allocations: 141.4 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3823, allocations: 4 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3823, allocations: 0 / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3824, allocations: 7.938 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3825, allocations: 19.92 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3825, allocations: 0 / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3826, allocations: 20.02 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3827, allocations: 8 kB / 1.074 GB, free: 4.562 MB / 0.8262 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.0001097/0.3828, allocations: 121.8 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.3828, allocations: 7.906 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.3829, allocations: 12.7 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3829, allocations: 4 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3829, allocations: 3.938 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3829, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.3836, allocations: 434.2 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3836, allocations: 0 / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.3837, allocations: 11.97 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3837, allocations: 0 / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.3837, allocations: 11.98 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3837, allocations: 3.938 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3837, allocations: 4 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.3841, allocations: 223.3 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.3842, allocations: 89 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3842, allocations: 0 / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3843, allocations: 11.92 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3844, allocations: 19.98 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3844, allocations: 4 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.02e-05/0.3845, allocations: 101.4 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3845, allocations: 0 / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000319/0.3848, allocations: 43.98 kB / 1.075 GB, free: 3.375 MB / 0.8262 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 (10): * Single equations (assignments): 7 * 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.0003987/0.3852, allocations: 170.5 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.3856, allocations: 91.88 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3856, allocations: 0 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3857, allocations: 51.91 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3861, allocations: 9.5 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.3867, allocations: 207.6 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.387, allocations: 0.6963 MB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.917e-05/0.3871, allocations: 8.656 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.3871, allocations: 11.44 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of SimCode: time 1.764e-06/0.3872, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.005334/0.3925, allocations: 1.819 MB / 1.078 GB, free: 292 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches