Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.004607/0.004607, allocations: 99.77 kB / 15.73 MB, free: 6.445 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.001384/0.001384, allocations: 194.7 kB / 16.67 MB, free: 6.348 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.89 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3006, allocations: 162.3 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002669/0.3033, allocations: 1.501 MB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3046, allocations: 0.7595 MB / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.3047, allocations: 0 / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.3047, allocations: 3.938 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/0.3048, allocations: 19.8 kB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.3053, allocations: 127.6 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3054, allocations: 87.69 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3055, allocations: 19.97 kB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.3056, allocations: 35.86 kB / 1.244 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.3057, allocations: 47.81 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3057, allocations: 4 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3059, allocations: 95.91 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.306, allocations: 15.92 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.306, allocations: 31.86 kB / 1.245 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3063, allocations: 147.4 kB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3063, allocations: 4 kB / 1.245 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3063, allocations: 4 kB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.3063, allocations: 0 / 1.245 GB, free: 6.949 MB / 0.9981 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.00068/0.307, allocations: 466.3 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.307, allocations: 12.03 kB / 1.245 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.3071, allocations: 34.75 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.3071, allocations: 8.891 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3072, allocations: 176.3 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3073, allocations: 8.375 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3073, allocations: 12.31 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3075, allocations: 73.77 kB / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3075, allocations: 0 / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3075, allocations: 4 kB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3075, allocations: 4 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3076, allocations: 35.97 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.3081, allocations: 324.7 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.3083, allocations: 62.55 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.3084, allocations: 36.84 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3084, allocations: 0 / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.3086, allocations: 95.53 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.3086, allocations: 4 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003885/0.309, allocations: 161.5 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3091, allocations: 55.41 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3092, allocations: 133.8 kB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3092, allocations: 29.7 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.3093, allocations: 92.33 kB / 1.246 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.3093, allocations: 27.78 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.3094, allocations: 37.7 kB / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3095, allocations: 322.8 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.3096, allocations: 23.98 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3097, allocations: 73.12 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.3099, allocations: 101 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3099, allocations: 0 / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002319/0.3101, allocations: 129.6 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3101, allocations: 8.125 kB / 1.247 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3101, allocations: 4 kB / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3102, allocations: 3.984 kB / 1.247 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.3103, allocations: 19.98 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3103, allocations: 0 / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/0.3104, allocations: 15.92 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3104, allocations: 4 kB / 1.247 GB, free: 4.117 MB / 0.9981 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.3105, allocations: 129.7 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.3105, allocations: 15.91 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3108, allocations: 145.9 kB / 1.247 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3109, allocations: 0 / 1.247 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3109, allocations: 7.922 kB / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3109, allocations: 0 / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.3114, allocations: 414.4 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3114, allocations: 0 / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.3115, allocations: 23.92 kB / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3115, allocations: 0 / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3115, allocations: 8 kB / 1.248 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3115, allocations: 3.938 kB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3115, allocations: 0 / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3118, allocations: 227.7 kB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3119, allocations: 89 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.3119, allocations: 4 kB / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.312, allocations: 19.92 kB / 1.248 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3121, allocations: 11.92 kB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3121, allocations: 8 kB / 1.248 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.3122, allocations: 98.64 kB / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3122, allocations: 0 / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002862/0.3125, allocations: 43.92 kB / 1.248 GB, free: 2.789 MB / 0.9981 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.0007904/0.3133, allocations: 0.8208 MB / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3135, allocations: 84.08 kB / 1.249 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3135, allocations: 4.062 kB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3136, allocations: 43.92 kB / 1.249 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3139, allocations: 22.61 kB / 1.249 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3155, allocations: 1.599 MB / 1.251 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4938/0.8094, allocations: 0.6908 MB / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.711e-05/0.8095, allocations: 10.77 kB / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.8095, allocations: 28.61 kB / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.8095, allocations: 0 / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.023/2.833, allocations: 3.09 MB / 1.255 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/18.42, allocations: 7.422 kB / 1.255 GB, free: 13.72 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches