Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001727, allocations: 105.7 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 196.5 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7171 GB, free: 4.027 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8305, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002546/0.8331, allocations: 1.513 MB / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.8343, allocations: 0.7536 MB / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.8344, allocations: 0 / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.8344, allocations: 13.47 kB / 1.177 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.8345, allocations: 15.97 kB / 1.177 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.8351, allocations: 118.6 kB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.8353, allocations: 85.39 kB / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.8354, allocations: 11.27 kB / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.8355, allocations: 48.52 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.8356, allocations: 46.25 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.8356, allocations: 6.375 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.8359, allocations: 94.33 kB / 1.177 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.8359, allocations: 16.84 kB / 1.177 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.836, allocations: 40.22 kB / 1.177 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.8362, allocations: 148.7 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8363, allocations: 0.7031 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8363, allocations: 0 / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.8363, allocations: 0 / 1.177 GB, free: 15.61 MB / 0.92 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.0006869/0.837, allocations: 472.8 kB / 1.178 GB, free: 15.15 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.837, allocations: 9.406 kB / 1.178 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.8371, allocations: 37.56 kB / 1.178 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.8371, allocations: 9.719 kB / 1.178 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.8372, allocations: 179 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.8372, allocations: 3.672 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.8373, allocations: 8.25 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.8374, allocations: 72.52 kB / 1.178 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8375, allocations: 4 kB / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8375, allocations: 6.031 kB / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.8375, allocations: 0 / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.8376, allocations: 42.81 kB / 1.178 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.8381, allocations: 319.1 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.8383, allocations: 75.03 kB / 1.179 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.8384, allocations: 36.42 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.8384, allocations: 1.891 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.8387, allocations: 92.27 kB / 1.179 GB, free: 14.4 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.8387, allocations: 1.406 kB / 1.179 GB, free: 14.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004032/0.8391, allocations: 164.6 kB / 1.179 GB, free: 14.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.8391, allocations: 53.64 kB / 1.179 GB, free: 14.26 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.8392, allocations: 133.5 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.8393, allocations: 30.36 kB / 1.179 GB, free: 14.11 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.8393, allocations: 92.83 kB / 1.179 GB, free: 14.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.8393, allocations: 18.05 kB / 1.179 GB, free: 14 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.8394, allocations: 36.44 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.8394, allocations: 323 kB / 1.18 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.8395, allocations: 27.23 kB / 1.18 GB, free: 13.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.8396, allocations: 71.44 kB / 1.18 GB, free: 13.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.8398, allocations: 100.7 kB / 1.18 GB, free: 13.51 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8398, allocations: 0 / 1.18 GB, free: 13.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/0.84, allocations: 129.7 kB / 1.18 GB, free: 13.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8401, allocations: 5.984 kB / 1.18 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8401, allocations: 1.438 kB / 1.18 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8401, allocations: 2.906 kB / 1.18 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.8402, allocations: 26.09 kB / 1.18 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.8402, allocations: 2.812 kB / 1.18 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.8403, allocations: 21.62 kB / 1.18 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.8404, allocations: 5.562 kB / 1.18 GB, free: 13.42 MB / 0.92 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 6.674e-05/0.8404, allocations: 127.7 kB / 1.18 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.8404, allocations: 6.609 kB / 1.18 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.8408, allocations: 146.1 kB / 1.18 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8408, allocations: 6.469 kB / 1.18 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8408, allocations: 0.6562 kB / 1.18 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.8408, allocations: 0.7031 kB / 1.18 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.8413, allocations: 428.3 kB / 1.181 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8413, allocations: 0.5625 kB / 1.181 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.8414, allocations: 10.52 kB / 1.181 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8414, allocations: 0.6562 kB / 1.181 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.8414, allocations: 6.734 kB / 1.181 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8414, allocations: 9.344 kB / 1.181 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8414, allocations: 0 / 1.181 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.8417, allocations: 227.3 kB / 1.181 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.8417, allocations: 88.16 kB / 1.181 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.8418, allocations: 1.859 kB / 1.181 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.8419, allocations: 16.58 kB / 1.181 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.8419, allocations: 16.27 kB / 1.181 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.842, allocations: 6.469 kB / 1.181 GB, free: 12.57 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.842, allocations: 100.3 kB / 1.181 GB, free: 12.49 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.842, allocations: 3.938 kB / 1.181 GB, free: 12.49 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003604/0.8424, allocations: 40.83 kB / 1.181 GB, free: 12.48 MB / 0.92 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.0007109/0.8431, allocations: 0.8255 MB / 1.182 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.8434, allocations: 85.12 kB / 1.182 GB, free: 11.74 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8434, allocations: 0 / 1.182 GB, free: 11.74 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.8435, allocations: 42.22 kB / 1.182 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.8438, allocations: 27.66 kB / 1.182 GB, free: 11.72 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.8452, allocations: 1.588 MB / 1.184 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.8453, allocations: 0.7013 MB / 1.184 GB, free: 9.625 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.089e-05/0.8454, allocations: 13 kB / 1.184 GB, free: 9.621 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.8454, allocations: 28.17 kB / 1.184 GB, free: 9.602 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.8454, allocations: 0 / 1.184 GB, free: 9.602 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.8696, allocations: 3.104 MB / 1.187 GB, free: 9.07 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/9.227, allocations: 5.266 kB / 1.187 GB, free: 9.066 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.134186055976897]