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 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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001176/0.001176, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.66 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2718, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002831/0.2747, allocations: 1.587 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2761, allocations: 0.7596 MB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.2761, allocations: 4 kB / 1.054 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.2762, allocations: 7.938 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2763, allocations: 15.86 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.2769, allocations: 103.8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.277, allocations: 91.69 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.2771, allocations: 4 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2772, allocations: 43.84 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.2773, allocations: 43.83 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.2773, allocations: 4 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.2775, allocations: 83.91 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.2776, allocations: 23.91 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.2776, allocations: 35.8 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2779, allocations: 147.8 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2779, allocations: 0 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.083e-06/0.2779, allocations: 3.938 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2779, allocations: 0 / 1.055 GB, free: 5.281 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.0007877/0.2787, allocations: 482.5 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2787, allocations: 11.97 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.2788, allocations: 38.75 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.2789, allocations: 8.844 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.279, allocations: 180.2 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.2791, allocations: 34.27 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2791, allocations: 8.375 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.2794, allocations: 85.52 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2794, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2794, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2794, allocations: 4 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2796, allocations: 43.95 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.2802, allocations: 332.7 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2804, allocations: 66.55 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2805, allocations: 36.83 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2805, allocations: 4 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.2808, allocations: 103.3 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.2808, allocations: 0 / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005191/0.2813, allocations: 169.5 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2814, allocations: 51.41 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2815, allocations: 136.6 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2816, allocations: 29.7 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.2816, allocations: 100.5 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2817, allocations: 23.66 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.2817, allocations: 33.64 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2818, allocations: 326.8 kB / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.282, allocations: 27.98 kB / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.2821, allocations: 69.12 kB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.2823, allocations: 113 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2823, allocations: 0 / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003014/0.2826, allocations: 133.4 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2827, allocations: 8 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2827, allocations: 0 / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.2827, allocations: 4 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2828, allocations: 20.05 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2828, allocations: 4 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.283, allocations: 15.89 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.283, allocations: 11.98 kB / 1.058 GB, free: 2.328 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 0.0001022/0.2831, allocations: 125.7 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.2831, allocations: 7.906 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.2832, allocations: 8.719 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2832, allocations: 8 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2832, allocations: 4 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2832, allocations: 3.984 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.2838, allocations: 422.3 kB / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2838, allocations: 0 / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.2839, allocations: 15.98 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2839, allocations: 0 / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2839, allocations: 11.94 kB / 1.058 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2839, allocations: 3.938 kB / 1.058 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2839, allocations: 0 / 1.058 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.2843, allocations: 227.4 kB / 1.058 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2844, allocations: 89.19 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.2844, allocations: 0 / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2845, allocations: 19.86 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.2846, allocations: 15.97 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.2846, allocations: 4 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.83e-05/0.2847, allocations: 103.3 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2847, allocations: 0 / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003146/0.285, allocations: 43.89 kB / 1.059 GB, free: 1.137 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 (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.0008403/0.2859, allocations: 0.8065 MB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.2862, allocations: 99.88 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2862, allocations: 3.938 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2863, allocations: 48 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2866, allocations: 17.61 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.2888, allocations: 1.624 MB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.2892, allocations: 0.6965 MB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.611e-05/0.2892, allocations: 12.66 kB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.2893, allocations: 23.42 kB / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2893, allocations: 0 / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2775/0.5668, allocations: 2.834 MB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/0.5671, allocations: 252.6 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.693, allocations: 0 / 1.065 GB, free: 10.71 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > 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/jenkins1/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