Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.02049/0.02049, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.00257/0.00257, allocations: 189.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.922/2.922, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.114/5.114, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003226/0.003227, allocations: 67.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971/1.974, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.004169/1.979, allocations: 0.722 MB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002729/1.981, allocations: 0.8297 MB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/1.981, allocations: 0 / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/1.982, allocations: 7.938 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/1.982, allocations: 3.938 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/1.982, allocations: 27.95 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/1.982, allocations: 39.86 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/1.982, allocations: 15.98 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/1.983, allocations: 23.92 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/1.983, allocations: 19.86 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/1.983, allocations: 7.984 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/1.993, allocations: 4 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/1.993, allocations: 8 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/1.993, allocations: 23.86 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/1.994, allocations: 35.88 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/1.994, allocations: 0 / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.287e-06/1.994, allocations: 4 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.994, allocations: 0 / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001385/1.995, allocations: 390.9 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 9.757e-05/1.995, allocations: 8.625 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.475e-05/1.995, allocations: 42.75 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/1.995, allocations: 0.9375 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/1.996, allocations: 176.3 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/1.996, allocations: 384 / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/1.996, allocations: 8.312 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/1.996, allocations: 66.22 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/1.996, allocations: 3.938 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/1.996, allocations: 0 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.996, allocations: 7.938 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/1.997, allocations: 43.95 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/1.998, allocations: 312.6 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/1.998, allocations: 46.55 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.999, allocations: 25 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/1.999, allocations: 3.984 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.269e-05/1.999, allocations: 38.56 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 4.428e-06/1.999, allocations: 0 / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.000733/1.999, allocations: 93.56 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/2, allocations: 55.41 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/2, allocations: 117.8 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/2, allocations: 25.7 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/2, allocations: 88.14 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/2, allocations: 7.953 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/2, allocations: 17.7 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0004065/2.001, allocations: 318.8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/2.001, allocations: 23.97 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/2.001, allocations: 19.98 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/2.001, allocations: 44.83 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/2.001, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003897/2.002, allocations: 85.53 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/2.002, allocations: 8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.002, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/2.002, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/2.002, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/2.002, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/2.002, allocations: 19.97 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/2.002, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0002405/2.002, allocations: 117.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/2.002, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/2.003, allocations: 89.48 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/2.003, allocations: 4 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01028/2.013, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/2.013, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/2.014, allocations: 181.9 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/2.014, allocations: 3.938 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/2.014, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/2.014, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/2.014, allocations: 11.92 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/2.014, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.014, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/2.015, allocations: 179.4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/2.015, allocations: 81.48 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/2.015, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/2.015, allocations: 15.97 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/2.015, allocations: 12 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/2.015, allocations: 3.984 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.822e-05/2.015, allocations: 87.28 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7.02e-07/2.015, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004249/2.016, allocations: 8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009831/2.017, allocations: 0.7085 MB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003823/2.017, allocations: 51.89 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.017, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/2.017, allocations: 19.98 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/2.018, allocations: 8 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/2.021, allocations: 1.331 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/2.022, allocations: 0.6846 MB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.352e-05/2.022, allocations: 4 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/2.022, allocations: 11.44 kB / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of SimCode: time 1.172e-06/2.022, allocations: 4 kB / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/2.145, allocations: 1.817 MB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/19.37, allocations: 11.89 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches