Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_9_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.00592/0.00592, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001324/0.001324, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.393/2.393, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001973/1.021, allocations: 0.7159 MB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001039/1.022, allocations: 0.8357 MB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/1.022, allocations: 0 / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/1.022, allocations: 9.578 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/1.022, allocations: 4.594 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/1.023, allocations: 16.75 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/1.023, allocations: 38.86 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.023, allocations: 11.7 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/1.023, allocations: 20.97 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/1.023, allocations: 22.88 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/1.023, allocations: 4.812 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/1.023, allocations: 7.656 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/1.023, allocations: 15.62 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/1.023, allocations: 13.58 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/1.023, allocations: 54.08 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.023, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/1.023, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.023, allocations: 1.219 kB / 1.089 GB, free: 4.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007259/1.024, allocations: 387 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.024, allocations: 9.797 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/1.024, allocations: 32.34 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/1.024, allocations: 8.516 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.024, allocations: 163.2 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.024, allocations: 6.562 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/1.025, allocations: 7.797 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/1.025, allocations: 61.23 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.025, allocations: 3.938 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.025, allocations: 0 / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/1.025, allocations: 2.047 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/1.025, allocations: 50.33 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/1.026, allocations: 301.6 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/1.026, allocations: 51.75 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/1.026, allocations: 30.02 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/1.026, allocations: 5.125 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/1.026, allocations: 32.28 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.026, allocations: 0 / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004107/1.026, allocations: 91.05 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/1.027, allocations: 51.41 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/1.027, allocations: 111 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.027, allocations: 30.77 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/1.027, allocations: 95.73 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/1.027, allocations: 9.609 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/1.027, allocations: 18.11 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/1.027, allocations: 321.5 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/1.027, allocations: 25.95 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/1.027, allocations: 21.2 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/1.027, allocations: 45.17 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.027, allocations: 0 / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002173/1.027, allocations: 81.8 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.027, allocations: 6.531 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.028, allocations: 0 / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.028, allocations: 1.031 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/1.028, allocations: 15.95 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.028, allocations: 1.609 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.028, allocations: 19.25 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/1.028, allocations: 1 kB / 1.091 GB, free: 2.23 MB / 0.8575 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 5.656e-05/1.028, allocations: 116.6 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/1.028, allocations: 2.781 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/1.028, allocations: 81.89 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.028, allocations: 0 / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.028, allocations: 1.766 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.028, allocations: 0 / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/1.028, allocations: 175.3 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.028, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.116e-05/1.028, allocations: 12.72 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.028, allocations: 2.172 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.028, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.028, allocations: 5.609 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.028, allocations: 0 / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/1.029, allocations: 175.8 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/1.029, allocations: 78.94 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/1.029, allocations: 2.219 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.029, allocations: 21.72 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.029, allocations: 6.875 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.029, allocations: 0.7031 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.249e-05/1.029, allocations: 90.2 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.029, allocations: 0 / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002233/1.029, allocations: 5.5 kB / 1.092 GB, free: 1.52 MB / 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: 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.0005162/1.03, allocations: 0.7141 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002579/1.03, allocations: 47.16 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.03, allocations: 3.938 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/1.03, allocations: 28.42 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/1.03, allocations: 11.72 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/1.032, allocations: 1.323 MB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/1.032, allocations: 0.6847 MB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.345e-05/1.032, allocations: 7.062 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/1.032, allocations: 19.48 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.032, allocations: 0 / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/1.049, allocations: 1.803 MB / 1.096 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/8.569, allocations: 3.422 kB / 1.096 GB, free: 14.49 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches