Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8913/0.8913, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.732/1.732, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.227e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001931/0.001954, allocations: 1.521 MB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.00299, allocations: 0.8028 MB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.003049, allocations: 7.875 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.003078, allocations: 3.938 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.003162, allocations: 19.86 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.003684, allocations: 155.3 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003797, allocations: 87.69 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.003894, allocations: 8 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.004036, allocations: 59.88 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.004094, allocations: 35.88 kB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.004111, allocations: 4 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.004302, allocations: 139.7 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.004325, allocations: 23.91 kB / 0.9533 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.00436, allocations: 19.98 kB / 0.9533 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.004685, allocations: 187.5 kB / 0.9535 GB, free: 440 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004687, allocations: 3.938 kB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.272e-06/0.004689, allocations: 0 / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.004692, allocations: 0 / 0.9535 GB, free: 436 kB / 0.9011 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.0005256/0.005218, allocations: 389.2 kB / 0.9538 GB, free: 4 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005253, allocations: 12.08 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.005284, allocations: 46.67 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.005458, allocations: 28.88 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.005639, allocations: 133.6 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.005652, allocations: 4.375 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.005664, allocations: 8.375 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.005812, allocations: 74.2 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005819, allocations: 192 / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.005829, allocations: 4.125 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005834, allocations: 3.938 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.005919, allocations: 39.97 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.006283, allocations: 279.9 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.006388, allocations: 62.53 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.006436, allocations: 36.81 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.006458, allocations: 4 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.006596, allocations: 91.31 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.006597, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002831/0.00688, allocations: 161.5 kB / 0.9548 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.006917, allocations: 59.39 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.006993, allocations: 124.9 kB / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.007008, allocations: 37.69 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.007051, allocations: 88.38 kB / 0.9551 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.007069, allocations: 23.8 kB / 0.9551 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.007108, allocations: 34.08 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.007181, allocations: 318.8 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.007228, allocations: 31.92 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.007291, allocations: 69.12 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.0074, allocations: 105 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.007404, allocations: 7.938 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001437/0.007548, allocations: 125.4 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.007561, allocations: 8 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007567, allocations: 4.125 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.007581, allocations: 7.984 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.007651, allocations: 15.92 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.007657, allocations: 4 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.007711, allocations: 15.94 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.007721, allocations: 7.984 kB / 0.9558 GB, free: 13.76 MB / 0.9167 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.856e-05/0.00779, allocations: 124 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.007801, allocations: 7.953 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.008014, allocations: 157.9 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.008017, allocations: 0 / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.00802, allocations: 0 / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.008024, allocations: 0 / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.008372, allocations: 393.6 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.008375, allocations: 3.984 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.008407, allocations: 8 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.00841, allocations: 0 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.00842, allocations: 4 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.008423, allocations: 11.98 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008424, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.008592, allocations: 231.3 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.008602, allocations: 11.84 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.008619, allocations: 7.984 kB / 0.9567 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.008675, allocations: 8 kB / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.008712, allocations: 12.06 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.008725, allocations: 4 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.008767, allocations: 103.2 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008767, allocations: 0 / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000218/0.008985, allocations: 47.92 kB / 0.9569 GB, free: 12.57 MB / 0.9167 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.0005418/0.009527, allocations: 0.8395 MB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.009684, allocations: 80.14 kB / 0.9578 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009685, allocations: 4 kB / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.009752, allocations: 47.91 kB / 0.9578 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.009958, allocations: 16.36 kB / 0.9579 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.0111, allocations: 1.6 MB / 0.9594 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.01115, allocations: 87.67 kB / 0.9595 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.01119, allocations: 12.48 kB / 0.9595 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.01123, allocations: 28.48 kB / 0.9595 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.01123, allocations: 0 / 0.9595 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.02974, allocations: 3.898 MB / 0.9634 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/6.944, allocations: 4 kB / 0.9634 GB, free: 5.969 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lig.occ in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.186246733181179]