Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.655e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002837/0.002873, allocations: 0.604 MB / 0.8782 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.005502, allocations: 1.128 MB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.005554, allocations: 4 kB / 0.8793 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.005588, allocations: 5 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.005676, allocations: 9.469 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.006362, allocations: 120.7 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.006609, allocations: 95.81 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.131e-05/0.00669, allocations: 0.5 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.006843, allocations: 49.67 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.006973, allocations: 27.95 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.007021, allocations: 8 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.007124, allocations: 23.92 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.007153, allocations: 7.938 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.00724, allocations: 29.31 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.007516, allocations: 99.77 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.00752, allocations: 0 / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007521, allocations: 0 / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.007529, allocations: 4.703 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006708/0.0082, allocations: 303.9 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.008244, allocations: 8.688 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.008326, allocations: 10.48 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.008481, allocations: 105.8 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.00851, allocations: 4.375 kB / 0.8801 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.008547, allocations: 12.31 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.008669, allocations: 34.25 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.008679, allocations: 6.188 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.008689, allocations: 384 / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.008694, allocations: 384 / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.008758, allocations: 15.92 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.009313, allocations: 224.6 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.00941, allocations: 33.05 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.009456, allocations: 12.84 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.009474, allocations: 4.062 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.009692, allocations: 71.34 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.009694, allocations: 0 / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003263/0.01002, allocations: 73.56 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.01009, allocations: 56.12 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.01024, allocations: 107.5 kB / 0.8808 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.01028, allocations: 29.7 kB / 0.8808 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01039, allocations: 96.08 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.01041, allocations: 7.891 kB / 0.8809 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01052, allocations: 29.7 kB / 0.8809 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002541/0.01078, allocations: 316.2 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.01095, allocations: 65.67 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.01114, allocations: 80.25 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.01135, allocations: 92.2 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01135, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005181/0.01187, allocations: 185 kB / 0.8816 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.01193, allocations: 41.58 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01193, allocations: 4 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.01196, allocations: 0 / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.01202, allocations: 4 kB / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.01203, allocations: 0 / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.01234, allocations: 31.98 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.01237, allocations: 7.984 kB / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.000165/0.01253, allocations: 121.8 kB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.01255, allocations: 0 / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.01259, allocations: 11.94 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01259, allocations: 0 / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.0126, allocations: 3.984 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.01261, allocations: 0 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.01279, allocations: 113.3 kB / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01279, allocations: 4 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.01281, allocations: 0 / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01281, allocations: 0 / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01282, allocations: 4 kB / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.01283, allocations: 4 kB / 0.882 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.01283, allocations: 4 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.01304, allocations: 85.08 kB / 0.882 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.01305, allocations: 3.984 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01307, allocations: 3.938 kB / 0.882 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-05/0.0131, allocations: 7.938 kB / 0.8821 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.01314, allocations: 4 kB / 0.8821 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.01314, allocations: 4 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.054e-05/0.01323, allocations: 87.66 kB / 0.8821 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01323, allocations: 0 / 0.8821 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000418/0.01365, allocations: 20 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002079/0.01386, allocations: 103.2 kB / 0.8823 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.01424, allocations: 141.3 kB / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01424, allocations: 0 / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.01429, allocations: 8 kB / 0.8824 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.01463, allocations: 20.34 kB / 0.8824 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.01505, allocations: 128.7 kB / 0.8826 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.587e-05/0.01514, allocations: 71.27 kB / 0.8826 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.01517, allocations: 3.984 kB / 0.8826 GB, free: 1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.01521, allocations: 16.5 kB / 0.8826 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.01521, allocations: 0 / 0.8826 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of Templates: time 0.006071/0.02128, allocations: 1.193 MB / 0.8838 GB, free: 15.83 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.297597087104805]