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.001804/0.001804, allocations: 103.6 kB / 16.45 MB, free: 6.445 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.002043/0.002043, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.675/2.675, allocations: 443.5 MB / 0.7287 GB, free: 14.53 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.002251/0.002251, allocations: 67.88 kB / 1.056 GB, free: 2.547 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3258, allocations: 160.7 MB / 1.213 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002879/0.3287, allocations: 1.512 MB / 1.214 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3302, allocations: 0.7757 MB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.3302, allocations: 4 kB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.3303, allocations: 7.875 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.819e-05/0.3304, allocations: 23.84 kB / 1.215 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.3309, allocations: 119.6 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3311, allocations: 83.7 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.3312, allocations: 11.98 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3313, allocations: 39.84 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.3313, allocations: 39.83 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3314, allocations: 12 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.3316, allocations: 103.8 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.3316, allocations: 23.91 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.3317, allocations: 35.8 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3319, allocations: 143.8 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3319, allocations: 0 / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3319, allocations: 0 / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.3319, allocations: 0 / 1.216 GB, free: 14.58 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.0007931/0.3327, allocations: 470.3 kB / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3328, allocations: 12.03 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.3328, allocations: 38.67 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3329, allocations: 8.891 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.333, allocations: 180.3 kB / 1.216 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.333, allocations: 4.375 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.3331, allocations: 4.375 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3333, allocations: 77.77 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3333, allocations: 3.938 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3333, allocations: 7.922 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3333, allocations: 7.938 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.3334, allocations: 43.97 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.334, allocations: 316.7 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3342, allocations: 58.59 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.3343, allocations: 32.84 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3343, allocations: 0 / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.3346, allocations: 95.34 kB / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/0.3346, allocations: 0 / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004233/0.335, allocations: 153.5 kB / 1.217 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3351, allocations: 55.41 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3352, allocations: 133.8 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3352, allocations: 29.7 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.3353, allocations: 92.52 kB / 1.217 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3353, allocations: 27.78 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.3354, allocations: 29.7 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3355, allocations: 334.7 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.3356, allocations: 27.98 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3357, allocations: 76.88 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3359, allocations: 97.08 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3359, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002703/0.3362, allocations: 129.5 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3362, allocations: 8 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3362, allocations: 0 / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3362, allocations: 4 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3363, allocations: 15.92 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3363, allocations: 4 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3365, allocations: 20.06 kB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3365, allocations: 8.375 kB / 1.218 GB, free: 11.74 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.000114/0.3366, allocations: 117.8 kB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.3366, allocations: 11.94 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.3369, allocations: 153.8 kB / 1.218 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3369, allocations: 3.938 kB / 1.218 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3369, allocations: 4 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.337, allocations: 4 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.3376, allocations: 434.2 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3376, allocations: 96 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.424e-05/0.3377, allocations: 11.98 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.3377, allocations: 3.984 kB / 1.219 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3377, allocations: 0 / 1.219 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3377, allocations: 7.938 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3377, allocations: 0 / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.338, allocations: 231.4 kB / 1.219 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.3381, allocations: 85.06 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3381, allocations: 0 / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.3382, allocations: 15.92 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3383, allocations: 7.984 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3383, allocations: 4 kB / 1.219 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.073e-05/0.3383, allocations: 103.3 kB / 1.219 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3383, allocations: 0 / 1.219 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003183/0.3387, allocations: 47.86 kB / 1.219 GB, free: 10.41 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.0008601/0.3395, allocations: 0.8186 MB / 1.22 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3398, allocations: 87.77 kB / 1.22 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3398, allocations: 0 / 1.22 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3399, allocations: 43.91 kB / 1.22 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3402, allocations: 26.23 kB / 1.22 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3421, allocations: 1.591 MB / 1.222 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3424, allocations: 0.6963 MB / 1.223 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.3425, allocations: 8.438 kB / 1.223 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.3426, allocations: 27.42 kB / 1.223 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.3426, allocations: 4 kB / 1.223 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.3701, allocations: 3.115 MB / 1.226 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.503, allocations: 16.27 kB / 1.226 GB, free: 3.965 MB / 0.9669 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: 14.59419434517622]