Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.00156/0.00156, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.3 MB / 240 MB, free: 5.398 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.696/2.696, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006852/0.0006854, allocations: 16 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.8972, allocations: 142.4 MB / 0.9545 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009395/0.8983, allocations: 289.3 kB / 0.9547 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.722e-05/0.8983, allocations: 5.094 kB / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.8984, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.8984, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.8984, allocations: 1.469 kB / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.808e-05/0.8985, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.8986, allocations: 5.469 kB / 0.9547 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.8986, allocations: 0 / 0.9547 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.702e-05/0.8987, allocations: 1.156 kB / 0.9547 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.195e-05/0.8987, allocations: 0 / 0.9547 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.8987, allocations: 1.531 kB / 0.9547 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-06/0.8987, allocations: 4 kB / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.8987, allocations: 0 / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.8988, allocations: 29.7 kB / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.762e-05/0.8988, allocations: 1.75 kB / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.8988, allocations: 0 / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.106e-06/0.8989, allocations: 0 / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.8989, allocations: 0 / 0.9548 GB, free: 7.457 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003045/0.8992, allocations: 314.3 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.8992, allocations: 8.094 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.8993, allocations: 5.016 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.8994, allocations: 168.5 kB / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.8994, allocations: 0 / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.8995, allocations: 0 / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.8996, allocations: 36.59 kB / 0.9553 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8996, allocations: 3.938 kB / 0.9553 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.8996, allocations: 0 / 0.9553 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.8996, allocations: 0 / 0.9553 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.893e-05/0.8997, allocations: 9.391 kB / 0.9553 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.9, allocations: 383.2 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.745e-05/0.9001, allocations: 174.3 kB / 0.9558 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.9001, allocations: 80.14 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.9002, allocations: 75.28 kB / 0.956 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.9002, allocations: 111.1 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.9002, allocations: 3.938 kB / 0.9561 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.162e-05/0.9003, allocations: 31.03 kB / 0.9561 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.9004, allocations: 132.2 kB / 0.9562 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.9004, allocations: 96.39 kB / 0.9563 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.9005, allocations: 29.69 kB / 0.9564 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/0.9005, allocations: 80.14 kB / 0.9564 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.9005, allocations: 1.156 kB / 0.9564 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.9005, allocations: 4.125 kB / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.9006, allocations: 312.3 kB / 0.9567 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-06/0.9006, allocations: 0 / 0.9567 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-06/0.9006, allocations: 0 / 0.9567 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.918e-05/0.9006, allocations: 75.28 kB / 0.9568 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.9006, allocations: 76.41 kB / 0.9569 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.716e-05/0.9007, allocations: 28.3 kB / 0.9569 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.9007, allocations: 80.38 kB / 0.957 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.9008, allocations: 87.22 kB / 0.9571 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.322e-05/0.9008, allocations: 151.8 kB / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.055e-05/0.9008, allocations: 92.56 kB / 0.9573 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.9009, allocations: 151.7 kB / 0.9575 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.9009, allocations: 75.28 kB / 0.9575 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.901, allocations: 88.64 kB / 0.9576 GB, free: 4.371 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.9011, allocations: 265.5 kB / 0.9579 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.9011, allocations: 102.2 kB / 0.958 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.9012, allocations: 116.9 kB / 0.9581 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.313e-05/0.9012, allocations: 177.5 kB / 0.9582 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.072e-05/0.9013, allocations: 182.8 kB / 0.9584 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.94e-05/0.9014, allocations: 185.4 kB / 0.9586 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.9016, allocations: 403.3 kB / 0.959 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.9016, allocations: 104.9 kB / 0.9591 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.9017, allocations: 102.1 kB / 0.9592 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.963e-05/0.9018, allocations: 177.3 kB / 0.9593 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.9018, allocations: 181.4 kB / 0.9595 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.271e-05/0.9019, allocations: 189.3 kB / 0.9597 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.959e-05/0.9019, allocations: 185.1 kB / 0.9599 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.9021, allocations: 303.1 kB / 0.9602 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.9022, allocations: 187.6 kB / 0.9603 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.9022, allocations: 190.4 kB / 0.9605 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.9023, allocations: 104.9 kB / 0.9606 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.9024, allocations: 181.4 kB / 0.9608 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.9024, allocations: 105.9 kB / 0.9609 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.539e-05/0.9025, allocations: 81.55 kB / 0.961 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9025, allocations: 0 / 0.961 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003056/0.9028, allocations: 5.172 kB / 0.961 GB, free: 0.7188 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.903, allocations: 183.3 kB / 0.9612 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.16e-05/0.9031, allocations: 1.125 kB / 0.9612 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9031, allocations: 0 / 0.9612 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.9031, allocations: 1.031 kB / 0.9612 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.9035, allocations: 0.5252 MB / 0.9617 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.9039, allocations: 150.5 kB / 0.9618 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.9044, allocations: 0.6741 MB / 0.9625 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.361e-05/0.9045, allocations: 1.094 kB / 0.9625 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.9045, allocations: 7.438 kB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.9045, allocations: 0 / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.002734/0.9072, allocations: 156.5 kB / 0.9626 GB, free: 15.05 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches