Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_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.0106/0.0106, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.002187/0.002187, allocations: 191 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8894, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002666/0.8921, allocations: 1.509 MB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.8935, allocations: 0.7544 MB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.8935, allocations: 0 / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.492e-05/0.8936, allocations: 6.734 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.8937, allocations: 15.14 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.8943, allocations: 127.3 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.8944, allocations: 84.69 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.8945, allocations: 15.45 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.8946, allocations: 36.84 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.8947, allocations: 44.77 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.8947, allocations: 7.75 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.8949, allocations: 90.45 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.895, allocations: 20.34 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.895, allocations: 32.61 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.8953, allocations: 155.8 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8953, allocations: 0.8125 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8953, allocations: 0.6094 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.8954, allocations: 0.7812 kB / 1.09 GB, free: 3.414 MB / 0.8575 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.000668/0.896, allocations: 464.3 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8961, allocations: 10.73 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.8961, allocations: 36.67 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.8962, allocations: 9.469 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.916e-05/0.8963, allocations: 180.2 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.8963, allocations: 6.594 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.8963, allocations: 8.625 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.8965, allocations: 75.95 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.8965, allocations: 0 / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.8965, allocations: 5.953 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.8966, allocations: 1.094 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.8967, allocations: 37.23 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.8972, allocations: 328.2 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.8974, allocations: 62.52 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.8975, allocations: 40.97 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.8975, allocations: 1.156 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.8978, allocations: 100.6 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.8978, allocations: 0.7188 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004247/0.8982, allocations: 156.6 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.8982, allocations: 55.19 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.8984, allocations: 130.1 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.8984, allocations: 27.23 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.8984, allocations: 100.7 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.8985, allocations: 24.52 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.8985, allocations: 32.42 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.8986, allocations: 324.2 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.8987, allocations: 23.31 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.8988, allocations: 66.73 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.899, allocations: 108 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.899, allocations: 0 / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002513/0.8992, allocations: 130.7 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8993, allocations: 5.969 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8993, allocations: 1.688 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.8993, allocations: 3.547 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.8994, allocations: 17.66 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.8994, allocations: 2.672 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.8996, allocations: 9.562 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.8996, allocations: 13.2 kB / 1.093 GB, free: 1.238 MB / 0.8575 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 8.608e-05/0.8997, allocations: 130.9 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.8997, allocations: 9.109 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.9001, allocations: 153.1 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.9001, allocations: 1.969 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9001, allocations: 0 / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.9001, allocations: 2.156 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.9006, allocations: 423.8 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9007, allocations: 0 / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.9007, allocations: 14.47 kB / 1.093 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.9007, allocations: 5.281 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.9008, allocations: 6.578 kB / 1.093 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.9008, allocations: 4.656 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9008, allocations: 0.6562 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.9011, allocations: 223.2 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.9011, allocations: 83.94 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.9011, allocations: 6.828 kB / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.9013, allocations: 11.92 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.9013, allocations: 8.641 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.9014, allocations: 12.55 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.9014, allocations: 95.28 kB / 1.094 GB, free: 316 kB / 0.8575 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9014, allocations: 0 / 1.094 GB, free: 316 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003993/0.9018, allocations: 45.34 kB / 1.094 GB, free: 304 kB / 0.8575 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.0008989/0.9027, allocations: 0.8349 MB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.903, allocations: 89.41 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.903, allocations: 3.938 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.9032, allocations: 42.08 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.9035, allocations: 17.22 kB / 1.095 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.9057, allocations: 1.591 MB / 1.096 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.9061, allocations: 0.6973 MB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.019e-05/0.9062, allocations: 9.766 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.9063, allocations: 27.69 kB / 1.097 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of SimCode: time 7.62e-07/0.9063, allocations: 0.7188 kB / 1.097 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.9333, allocations: 3.095 MB / 1.1 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/8.187, allocations: 11.95 kB / 1.1 GB, free: 12.89 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches