Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_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.005439/0.005439, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001503/0.001503, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7106 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 71.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2619, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002667/0.2646, allocations: 1.505 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2659, allocations: 0.7634 MB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.266, allocations: 0 / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.266, allocations: 3.938 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.2661, allocations: 19.8 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.2666, allocations: 131.6 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.2668, allocations: 83.7 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.2669, allocations: 15.98 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.2669, allocations: 31.86 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.267, allocations: 43.81 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2671, allocations: 8 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.2673, allocations: 91.92 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.2673, allocations: 31.84 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.2674, allocations: 31.8 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.2676, allocations: 143.8 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2676, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2676, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2676, allocations: 4 kB / 1.169 GB, free: 4.379 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.0007172/0.2683, allocations: 466.3 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2684, allocations: 12.03 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.2684, allocations: 38.73 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.2685, allocations: 8.891 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2686, allocations: 176.3 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2686, allocations: 8.375 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2687, allocations: 4.375 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2689, allocations: 77.77 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2689, allocations: 3.938 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2689, allocations: 0 / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2689, allocations: 0 / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.269, allocations: 51.91 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.2696, allocations: 320.7 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2697, allocations: 62.56 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.2698, allocations: 32.83 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.2698, allocations: 11.94 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.27, allocations: 91.39 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2701, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0003827/0.2704, allocations: 153.5 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2705, allocations: 59.39 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2706, allocations: 125.8 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2707, allocations: 33.7 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.2707, allocations: 92.52 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.2708, allocations: 23.84 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.2708, allocations: 33.7 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.271, allocations: 322.8 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.271, allocations: 27.98 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2712, allocations: 69.12 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2713, allocations: 105 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2714, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002516/0.2716, allocations: 133.5 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2716, allocations: 4 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2716, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2717, allocations: 4 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2718, allocations: 15.98 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2718, allocations: 3.938 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2719, allocations: 23.88 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2719, allocations: 12.12 kB / 1.171 GB, free: 1.539 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 0.0001014/0.272, allocations: 121.8 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.272, allocations: 7.953 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.2724, allocations: 149.9 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2724, allocations: 4 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2724, allocations: 0 / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2724, allocations: 384 / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.273, allocations: 434.3 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.273, allocations: 3.938 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.2731, allocations: 11.98 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2731, allocations: 3.938 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2731, allocations: 4 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2731, allocations: 3.938 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2731, allocations: 3.984 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.2734, allocations: 223.5 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.2735, allocations: 85.06 kB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.2735, allocations: 3.984 kB / 1.172 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2736, allocations: 7.938 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.2737, allocations: 15.98 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2737, allocations: 11.92 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.2738, allocations: 95.02 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2738, allocations: 11.94 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002895/0.2741, allocations: 39.94 kB / 1.173 GB, free: 224 kB / 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.0008615/0.2749, allocations: 0.822 MB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.2752, allocations: 91.77 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2752, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2753, allocations: 43.98 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2756, allocations: 19.86 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.2773, allocations: 1.6 MB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2776, allocations: 0.6962 MB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.2777, allocations: 4.438 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.2777, allocations: 31.42 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2777, allocations: 0 / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.5434, allocations: 3.095 MB / 1.179 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.93, allocations: 7.891 kB / 1.179 GB, free: 9.789 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches