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.01074/0.01074, allocations: 102.6 kB / 15.73 MB, free: 6.477 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.001845/0.001845, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.184/2.184, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.729/3.729, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.02 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3876, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.003341/0.391, allocations: 0.7091 MB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3926, allocations: 0.8355 MB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.3927, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.3928, allocations: 3.938 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.3929, allocations: 7.922 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.3932, allocations: 19.92 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3933, allocations: 39.86 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3935, allocations: 23.97 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.3936, allocations: 19.92 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.3937, allocations: 15.92 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.3937, allocations: 4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.3938, allocations: 4 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.3938, allocations: 11.98 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.3939, allocations: 19.88 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.394, allocations: 47.84 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.394, allocations: 0 / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3941, allocations: 0 / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3941, allocations: 0 / 1.089 GB, free: 196 kB / 0.8419 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.0009365/0.395, allocations: 378.8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.3951, allocations: 12.03 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.3952, allocations: 30.75 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3952, allocations: 12.84 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.3954, allocations: 168.5 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3954, allocations: 12.31 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3955, allocations: 384 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.3958, allocations: 66.22 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3958, allocations: 7.875 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3958, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3958, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.3961, allocations: 47.95 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.3969, allocations: 300.6 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.3972, allocations: 54.55 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3974, allocations: 25 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.3974, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3975, allocations: 34.56 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.3975, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005619/0.3981, allocations: 101.6 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3981, allocations: 51.41 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3982, allocations: 109.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3983, allocations: 29.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.3984, allocations: 92.05 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3984, allocations: 7.891 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.3985, allocations: 17.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3986, allocations: 314.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3988, allocations: 27.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3989, allocations: 19.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.3992, allocations: 48.75 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3992, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003163/0.3995, allocations: 77.94 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3995, allocations: 9.406 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3996, allocations: 48 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.3996, allocations: 3.984 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.3997, allocations: 11.98 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3997, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3999, allocations: 19.83 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3999, allocations: 0 / 1.091 GB, free: 13.91 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 0.0001223/0.4, allocations: 121.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.4001, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.4004, allocations: 85.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4005, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4005, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4005, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.4008, allocations: 177.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4008, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.4009, allocations: 15.98 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4009, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4009, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4009, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4009, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.4013, allocations: 175.3 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.4014, allocations: 81.11 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.4014, allocations: 8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.4016, allocations: 15.97 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.4017, allocations: 7.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4017, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.4018, allocations: 87.28 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4018, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004171/0.4023, allocations: 8 kB / 1.092 GB, free: 13.03 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.0008127/0.4031, allocations: 0.7123 MB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.4035, allocations: 47.95 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4035, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.4036, allocations: 19.98 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.4041, allocations: 11.98 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.4064, allocations: 1.33 MB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.4068, allocations: 0.6885 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.4069, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.4069, allocations: 15.44 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.407, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3408/0.7478, allocations: 1.808 MB / 1.096 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.86, allocations: 1.125 kB / 1.096 GB, free: 8.379 MB / 0.8575 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