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 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.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.006184/0.006188, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001713/0.001713, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.549/2.549, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 68.23 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2993, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002506/0.3018, allocations: 1.509 MB / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3031, allocations: 0.7571 MB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.3031, allocations: 0 / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.3032, allocations: 7.875 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.3033, allocations: 11.88 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.3037, allocations: 127.6 kB / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3039, allocations: 87.69 kB / 1.244 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.304, allocations: 15.97 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.3041, allocations: 35.86 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.3042, allocations: 47.81 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3042, allocations: 12 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.3044, allocations: 91.84 kB / 1.244 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.3044, allocations: 19.92 kB / 1.244 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.3045, allocations: 35.8 kB / 1.245 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.3047, allocations: 147.8 kB / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3047, allocations: 0 / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3047, allocations: 0 / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3047, allocations: 0 / 1.245 GB, free: 6.004 MB / 0.9669 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.0007006/0.3054, allocations: 474.3 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3055, allocations: 11.97 kB / 1.245 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3055, allocations: 34.75 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.3056, allocations: 12.89 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3057, allocations: 175.7 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3057, allocations: 384 / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3058, allocations: 8.375 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3059, allocations: 77.7 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3059, allocations: 3.938 kB / 1.245 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.306, allocations: 12 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.306, allocations: 7.922 kB / 1.245 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3061, allocations: 35.97 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.3066, allocations: 324.7 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3068, allocations: 62.58 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.3069, allocations: 40.84 kB / 1.246 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.3069, allocations: 160 / 1.246 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.3071, allocations: 91.34 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3071, allocations: 0 / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003919/0.3075, allocations: 161.5 kB / 1.246 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3076, allocations: 55.41 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3077, allocations: 129.8 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3077, allocations: 25.7 kB / 1.246 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.3078, allocations: 96.33 kB / 1.246 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3078, allocations: 23.84 kB / 1.246 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3079, allocations: 33.64 kB / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.308, allocations: 326.8 kB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.3081, allocations: 19.98 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.3082, allocations: 73.14 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.3083, allocations: 101.1 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3084, allocations: 0 / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002368/0.3086, allocations: 133.5 kB / 1.247 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3086, allocations: 4 kB / 1.247 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3086, allocations: 4 kB / 1.247 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3086, allocations: 384 / 1.247 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3087, allocations: 23.92 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3088, allocations: 4.125 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.3089, allocations: 15.92 kB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3089, allocations: 7.938 kB / 1.247 GB, free: 3.164 MB / 0.9669 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.0001218/0.309, allocations: 125.8 kB / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.309, allocations: 15.84 kB / 1.247 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.3094, allocations: 149.9 kB / 1.247 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3094, allocations: 0 / 1.247 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3094, allocations: 4 kB / 1.247 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3094, allocations: 3.984 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.3099, allocations: 426.2 kB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3099, allocations: 4 kB / 1.248 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.31, allocations: 11.98 kB / 1.248 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.31, allocations: 96 / 1.248 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.31, allocations: 4 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3101, allocations: 3.938 kB / 1.248 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3101, allocations: 7.984 kB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.3104, allocations: 231.3 kB / 1.248 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3104, allocations: 81.06 kB / 1.248 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3104, allocations: 8 kB / 1.248 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3106, allocations: 11.92 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3106, allocations: 7.984 kB / 1.248 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3106, allocations: 8 kB / 1.248 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.3107, allocations: 100.3 kB / 1.248 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3107, allocations: 0 / 1.248 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000288/0.311, allocations: 47.86 kB / 1.248 GB, free: 1.832 MB / 0.9669 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.0008062/0.3118, allocations: 0.8315 MB / 1.249 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.312, allocations: 83.84 kB / 1.249 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.312, allocations: 0 / 1.249 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3122, allocations: 47.91 kB / 1.249 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3124, allocations: 24.17 kB / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.3141, allocations: 1.588 MB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.3144, allocations: 0.6924 MB / 1.252 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.3144, allocations: 12.42 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3145, allocations: 31.42 kB / 1.252 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3145, allocations: 0 / 1.252 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.668/1.982, allocations: 3.09 MB / 1.255 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/19.29, allocations: 7.266 kB / 1.255 GB, free: 11.42 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > 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