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.008863/0.008863, 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.002408/0.002408, allocations: 194.9 kB / 16.67 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.17 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 2.547/2.547, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9003/0.9017, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001955/0.9037, allocations: 0.7159 MB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.9047, allocations: 0.8375 MB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.9048, allocations: 0 / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.9048, allocations: 3.938 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.9049, allocations: 11.92 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.9051, allocations: 15.98 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.797e-05/0.9052, allocations: 39.86 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.9053, allocations: 15.98 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.9054, allocations: 15.97 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.9055, allocations: 27.86 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.9055, allocations: 7.938 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.9055, allocations: 4 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.9055, allocations: 11.98 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.9056, allocations: 19.88 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.9057, allocations: 43.84 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9057, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9057, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9057, allocations: 0 / 1.168 GB, free: 1.961 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.0006775/0.9064, allocations: 389.6 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9064, allocations: 8.922 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.9065, allocations: 30.75 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.9065, allocations: 12.83 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.9066, allocations: 168.4 kB / 1.168 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.9066, allocations: 4.375 kB / 1.168 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.9067, allocations: 4.375 kB / 1.168 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.9068, allocations: 70.16 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9069, allocations: 3.938 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.9069, allocations: 0 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.9069, allocations: 0 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.9071, allocations: 43.95 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.9076, allocations: 300.7 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.9079, allocations: 58.48 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.908, allocations: 25 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.908, allocations: 3.938 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.908, allocations: 38.55 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.9081, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003807/0.9084, allocations: 97.48 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.9085, allocations: 55.34 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.9086, allocations: 109.8 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.9086, allocations: 25.7 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.9087, allocations: 96.08 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.9087, allocations: 11.89 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.9087, allocations: 13.72 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9089, allocations: 322.8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.909, allocations: 23.97 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.9091, allocations: 19.98 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.9092, allocations: 52.81 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9092, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002111/0.9095, allocations: 81.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9095, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9095, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9095, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.9096, allocations: 7.984 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.9096, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.9097, allocations: 19.98 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.9097, allocations: 0 / 1.17 GB, free: 15.66 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 8.029e-05/0.9098, allocations: 113.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.9098, allocations: 4.328 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.9101, allocations: 85.47 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.9101, allocations: 4 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9101, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.9101, allocations: 4 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.9103, allocations: 169.6 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9103, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.9104, allocations: 7.984 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9104, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.9104, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.9104, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9104, allocations: 3.938 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.9107, allocations: 171.7 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.9108, allocations: 81.11 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.9108, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.9109, allocations: 19.91 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.911, allocations: 15.92 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.911, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.9111, allocations: 87.28 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9111, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002176/0.9113, allocations: 8 kB / 1.171 GB, free: 14.79 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.0005103/0.9118, allocations: 0.7123 MB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.912, allocations: 51.89 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.912, allocations: 0 / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.9121, allocations: 23.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.0003278/0.9124, allocations: 14.64 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.001315/0.9138, allocations: 1.335 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.914, allocations: 0.6807 MB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.914, allocations: 0 / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.9141, allocations: 15.44 kB / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of SimCode: time 2.304e-06/0.9141, allocations: 4 kB / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.932, allocations: 1.815 MB / 1.175 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/8.461, allocations: 17.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,onOffController.reference,onOffController.u,onOffController.y Variables in the result:cons2.k,cons2.y,onOffController.bandwidth,onOffController.pre_y_start,onOffController.reference,onOffController.u,onOffController.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,sin1.u,sin1.y,time