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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001132/0.001132, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9174, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002166/0.9196, allocations: 0.7776 MB / 0.9498 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.9205, allocations: 0.8236 MB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.9206, allocations: 1.375 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.9206, allocations: 7.984 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.9207, allocations: 5.312 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.9209, allocations: 10.75 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.921, allocations: 44.34 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.9211, allocations: 13.48 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.9212, allocations: 10.86 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.9212, allocations: 23.98 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.9213, allocations: 2.75 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.9213, allocations: 10.69 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.9213, allocations: 5.359 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.9213, allocations: 23.98 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.205e-05/0.9214, allocations: 42.73 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.9215, allocations: 1.375 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9215, allocations: 0 / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.9215, allocations: 0 / 0.9508 GB, free: 7.711 MB / 0.7169 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.0006787/0.9222, allocations: 389.1 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.9222, allocations: 9.625 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.9223, allocations: 30.75 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.9223, allocations: 3.688 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.9224, allocations: 175 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.9224, allocations: 1.75 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.9225, allocations: 7.125 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.9227, allocations: 62.73 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9227, allocations: 5.312 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9227, allocations: 0 / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.9227, allocations: 0.9375 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.9229, allocations: 44.39 kB / 0.9515 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.9235, allocations: 304.5 kB / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.9238, allocations: 51.86 kB / 0.9519 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.9239, allocations: 29.95 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.9239, allocations: 5.469 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.9239, allocations: 30.56 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.9239, allocations: 0 / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003427/0.9243, allocations: 93.98 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.9243, allocations: 55.41 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.9244, allocations: 114.8 kB / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.9244, allocations: 25.7 kB / 0.9522 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.9244, allocations: 94.59 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.9244, allocations: 9.25 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.9245, allocations: 13.56 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.9245, allocations: 324.5 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.9246, allocations: 19.17 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.9247, allocations: 23.83 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.9248, allocations: 46.75 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9249, allocations: 3.938 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000182/0.925, allocations: 81.64 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9251, allocations: 7.344 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.9251, allocations: 0 / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.9251, allocations: 0 / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.9252, allocations: 14.42 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9252, allocations: 1.125 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.9253, allocations: 17.33 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.9253, allocations: 1.25 kB / 0.9528 GB, free: 5.734 MB / 0.7169 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 6.075e-05/0.9254, allocations: 119.5 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.9254, allocations: 6.875 kB / 0.9529 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.9256, allocations: 85.73 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.9256, allocations: 1.875 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9256, allocations: 0 / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9256, allocations: 0 / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.9258, allocations: 168.8 kB / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9258, allocations: 4 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.9258, allocations: 10.08 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9259, allocations: 1.219 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9259, allocations: 0 / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9259, allocations: 5.281 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9259, allocations: 0 / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.9261, allocations: 170.2 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.9261, allocations: 86.09 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.9261, allocations: 5.125 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.9263, allocations: 20.73 kB / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.9263, allocations: 8.609 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.9263, allocations: 0 / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.9264, allocations: 91.08 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9264, allocations: 0 / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002151/0.9266, allocations: 6.594 kB / 0.9536 GB, free: 4.957 MB / 0.7169 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.0004719/0.9271, allocations: 0.7115 MB / 0.9543 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9273, allocations: 42.91 kB / 0.9543 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9273, allocations: 0 / 0.9543 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.9274, allocations: 29.81 kB / 0.9543 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.9277, allocations: 8 kB / 0.9544 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.929, allocations: 1.341 MB / 0.9557 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.9291, allocations: 0.6846 MB / 0.9563 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.9291, allocations: 2.031 kB / 0.9563 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.9292, allocations: 13.31 kB / 0.9563 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9292, allocations: 0 / 0.9563 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.9407, allocations: 1.512 MB / 0.9578 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.9409, allocations: 224.5 kB / 0.958 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.734, allocations: 3.938 kB / 0.958 GB, free: 1.207 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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