Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001417/0.001416, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001374, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 64.77 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002856/0.2967, allocations: 1.574 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2982, allocations: 0.7594 MB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.2982, allocations: 4 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.2983, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.2984, allocations: 7.875 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.2991, allocations: 111.8 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.2992, allocations: 87.7 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2994, allocations: 15.98 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2995, allocations: 39.84 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.2996, allocations: 43.83 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.2996, allocations: 8 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.2998, allocations: 87.91 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.2998, allocations: 23.91 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.2999, allocations: 35.86 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3001, allocations: 151.8 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3001, allocations: 0 / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3002, allocations: 4 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3002, allocations: 0 / 1.071 GB, free: 7.82 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.0008213/0.301, allocations: 462.5 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.301, allocations: 8.031 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.3011, allocations: 4.938 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3013, allocations: 180.1 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3013, allocations: 8.375 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3013, allocations: 8.375 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.3016, allocations: 85.83 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3016, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3016, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3016, allocations: 4 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.3018, allocations: 39.97 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.3024, allocations: 320.7 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3026, allocations: 66.59 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.3026, allocations: 36.83 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3027, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.3029, allocations: 91.5 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.303, allocations: 4 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004159/0.3034, allocations: 153.5 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.3035, allocations: 63.33 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3036, allocations: 133.2 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3036, allocations: 25.7 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.3037, allocations: 96.36 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3037, allocations: 15.72 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3038, allocations: 37.7 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3039, allocations: 326.8 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.304, allocations: 23.98 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/0.3041, allocations: 65.12 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3043, allocations: 101.1 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3043, allocations: 384 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002522/0.3045, allocations: 133.4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3046, allocations: 12.06 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.3046, allocations: 4 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3046, allocations: 3.938 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3047, allocations: 19.92 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3047, allocations: 3.984 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.3049, allocations: 11.94 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3049, allocations: 8 kB / 1.073 GB, free: 5.043 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.0001363/0.305, allocations: 129.7 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.3051, allocations: 11.91 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.3054, allocations: 142 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3054, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3054, allocations: 4 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3054, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.306, allocations: 430.2 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.306, allocations: 4 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.3061, allocations: 11.98 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3061, allocations: 4 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3061, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3061, allocations: 3.984 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3062, allocations: 3.938 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3065, allocations: 223.3 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.3065, allocations: 96.95 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3065, allocations: 3.984 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3067, allocations: 8 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.3067, allocations: 15.92 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.3067, allocations: 7.984 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.228e-05/0.3068, allocations: 95.27 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3068, allocations: 0 / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003001/0.3071, allocations: 44 kB / 1.074 GB, free: 3.723 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.0003435/0.3075, allocations: 169.4 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.3077, allocations: 91.77 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3078, allocations: 0 / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3079, allocations: 51.91 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3082, allocations: 20.23 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.3087, allocations: 223.5 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.309, allocations: 0.6963 MB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.101e-05/0.309, allocations: 16.41 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.3091, allocations: 11.44 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3091, allocations: 0 / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.004894/0.314, allocations: 1.73 MB / 1.077 GB, free: 0.6875 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)