Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Gunay2016Light,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.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_latest_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.0009488/0.0009489, allocations: 91.92 kB / 16.02 MB, free: 80 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.00103/0.00103, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003359, allocations: 12.53 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001716/0.2923, allocations: 1.244 MB / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2938, allocations: 0.744 MB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.2938, allocations: 0 / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.2939, allocations: 11.88 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.294, allocations: 15.86 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.2945, allocations: 103.8 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2946, allocations: 95.69 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.2948, allocations: 11.98 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2949, allocations: 35.92 kB / 1.062 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.295, allocations: 47.75 kB / 1.062 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.295, allocations: 4 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2952, allocations: 91.91 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.2952, allocations: 19.91 kB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.2953, allocations: 65.48 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2955, allocations: 108 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2955, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2955, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2955, allocations: 0 / 1.062 GB, free: 2.387 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000729/0.2963, allocations: 488.3 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2963, allocations: 19.91 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.2964, allocations: 12.83 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.2965, allocations: 176.2 kB / 1.063 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2966, allocations: 8.375 kB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.2966, allocations: 4.375 kB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.2968, allocations: 89.95 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2968, allocations: 0 / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2968, allocations: 0 / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2968, allocations: 7.938 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.297, allocations: 51.95 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.2976, allocations: 336.7 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.2978, allocations: 90.69 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.2979, allocations: 44.83 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.298, allocations: 4 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.2982, allocations: 99.34 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.2982, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004498/0.2987, allocations: 185.4 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2987, allocations: 59.41 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2988, allocations: 133.1 kB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2989, allocations: 29.7 kB / 1.064 GB, free: 376 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.2989, allocations: 99.97 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.299, allocations: 27.66 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.299, allocations: 21.7 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2991, allocations: 326.8 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.2992, allocations: 31.98 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2993, allocations: 69.14 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.2995, allocations: 109.1 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2995, allocations: 3.938 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003082/0.2999, allocations: 145.4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2999, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2999, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2999, allocations: 8.094 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3, allocations: 15.98 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3002, allocations: 19.83 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3002, allocations: 8 kB / 1.064 GB, free: 15.43 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,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.801e-05/0.3003, allocations: 127.8 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.3003, allocations: 7.906 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.3007, allocations: 173.1 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3007, allocations: 7.938 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3007, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3007, allocations: 144 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.3013, allocations: 462.2 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3013, allocations: 3.984 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.3014, allocations: 19.94 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3014, allocations: 0 / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3014, allocations: 3.984 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3015, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3015, allocations: 7.938 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3018, allocations: 239.4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.3018, allocations: 88.95 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.3019, allocations: 0 / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.302, allocations: 15.98 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.3021, allocations: 19.92 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3021, allocations: 8 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.3022, allocations: 103.2 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3022, allocations: 0 / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003256/0.3025, allocations: 40 kB / 1.066 GB, free: 14.03 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 (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.0003541/0.3028, allocations: 165.7 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3031, allocations: 99.89 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3031, allocations: 0 / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3033, allocations: 55.91 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3036, allocations: 18.09 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.3041, allocations: 287.9 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3043, allocations: 0.6965 MB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.3044, allocations: 23.42 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3044, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.004071/0.3085, allocations: 1.904 MB / 1.069 GB, free: 10.74 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches