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.001087/0.001086, allocations: 92.7 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.001645/0.001645, allocations: 178 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 8.438 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001743/0.2852, allocations: 1.233 MB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2866, allocations: 0.7556 MB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.2866, allocations: 0 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.2867, allocations: 7.922 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.609e-05/0.2868, allocations: 7.922 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.2873, allocations: 103.8 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2874, allocations: 83.7 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.2875, allocations: 12 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2876, allocations: 39.84 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.2877, allocations: 31.83 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2877, allocations: 4 kB / 1.062 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.2879, allocations: 95.84 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.288, allocations: 19.91 kB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.288, allocations: 53.56 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.2882, allocations: 104 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2882, allocations: 4 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2882, allocations: 0 / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2882, allocations: 0 / 1.062 GB, free: 2.398 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.0006861/0.2889, allocations: 450.7 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.289, allocations: 8.031 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.289, allocations: 8.844 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2892, allocations: 183.1 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2892, allocations: 8.375 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.2892, allocations: 4.375 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2894, allocations: 81.89 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2894, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2894, allocations: 4 kB / 1.063 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2895, allocations: 0 / 1.063 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2896, allocations: 43.97 kB / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.2902, allocations: 328.6 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.2903, allocations: 66.55 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.2904, allocations: 40.84 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2905, allocations: 8.125 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2907, allocations: 95.39 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.562e-06/0.2907, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004117/0.2911, allocations: 165.5 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.2912, allocations: 55.41 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2913, allocations: 133.7 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2913, allocations: 29.7 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.2914, allocations: 88.38 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.2914, allocations: 23.7 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2915, allocations: 21.72 kB / 1.064 GB, free: 376 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2916, allocations: 326.8 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.2917, allocations: 27.98 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2918, allocations: 69.2 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.292, allocations: 101.1 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.292, allocations: 7.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002572/0.2923, allocations: 133.4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2923, allocations: 8 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2923, allocations: 3.938 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2923, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2924, allocations: 15.98 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2925, allocations: 7.984 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2926, allocations: 12.06 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2926, allocations: 8 kB / 1.064 GB, free: 15.61 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.0001008/0.2927, allocations: 135.2 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.2927, allocations: 7.906 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.2931, allocations: 146.4 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2931, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2931, allocations: 4 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2931, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.2937, allocations: 438.1 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2937, allocations: 4 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.2938, allocations: 15.98 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2938, allocations: 11.94 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2938, allocations: 0 / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.2938, allocations: 3.984 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2938, allocations: 7.938 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.2941, allocations: 227.5 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.2942, allocations: 84.95 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2942, allocations: 15.98 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2944, allocations: 8 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.2944, allocations: 11.92 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.2944, allocations: 11.98 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.2945, allocations: 98.64 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2945, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000319/0.2948, allocations: 40 kB / 1.065 GB, free: 14.26 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 (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.0003446/0.2952, allocations: 162.1 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.2954, allocations: 87.83 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2955, allocations: 256 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.2956, allocations: 59.91 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2959, allocations: 11.94 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.2964, allocations: 269 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2966, allocations: 0.6926 MB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2967, allocations: 15.44 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2967, allocations: 0 / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of Templates: time 0.003878/0.3006, allocations: 1.813 MB / 1.068 GB, free: 11.11 MB / 0.8262 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 -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