Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.009406/0.009406, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.355 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 2.541/2.541, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 16.27 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9139/0.9143, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0009168/0.9153, allocations: 344.1 kB / 0.9554 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.9167, allocations: 1.115 MB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.9167, allocations: 1.031 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.9168, allocations: 0 / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.448e-05/0.9169, allocations: 5.031 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.9173, allocations: 108.3 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.9175, allocations: 88.86 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.9176, allocations: 6.219 kB / 0.9567 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.9176, allocations: 32.95 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.9177, allocations: 22.66 kB / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.9178, allocations: 8.297 kB / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.9178, allocations: 22.92 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.9179, allocations: 2.094 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.9179, allocations: 55.11 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.9181, allocations: 75.91 kB / 0.9569 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9181, allocations: 0 / 0.9569 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.105e-06/0.9181, allocations: 7.984 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.9181, allocations: 0 / 0.9569 GB, free: 6.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004111/0.9185, allocations: 362.5 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.9186, allocations: 8.938 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.9186, allocations: 9.75 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/0.9187, allocations: 162.8 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.9188, allocations: 6.266 kB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.9188, allocations: 4.906 kB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.9189, allocations: 40.28 kB / 0.9574 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9189, allocations: 4.188 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9189, allocations: 8.953 kB / 0.9575 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9189, allocations: 3.938 kB / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.919, allocations: 13.25 kB / 0.9575 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.9194, allocations: 283.8 kB / 0.9577 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.115e-05/0.9195, allocations: 33.53 kB / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.9195, allocations: 13.33 kB / 0.9578 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.9195, allocations: 4 kB / 0.9578 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.9197, allocations: 67.41 kB / 0.9579 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.9197, allocations: 0 / 0.9579 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002874/0.92, allocations: 67.03 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.9201, allocations: 56.83 kB / 0.958 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.9202, allocations: 114.3 kB / 0.9581 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.9203, allocations: 28.02 kB / 0.9581 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.9203, allocations: 88.11 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.9203, allocations: 9.125 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.9204, allocations: 20.88 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.9205, allocations: 321 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.9206, allocations: 27.11 kB / 0.9586 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.9207, allocations: 49.09 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.9208, allocations: 90.8 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9208, allocations: 3.938 kB / 0.9587 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002357/0.921, allocations: 149.4 kB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.9211, allocations: 45.28 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.9211, allocations: 0 / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9211, allocations: 1.594 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.9212, allocations: 2.875 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.9212, allocations: 0 / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.9214, allocations: 42.81 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.9214, allocations: 7.984 kB / 0.9589 GB, free: 4.18 MB / 0.7169 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 7.401e-05/0.9215, allocations: 118.4 kB / 0.959 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.9215, allocations: 6.5 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.9216, allocations: 13.09 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.9216, allocations: 0 / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9216, allocations: 2.062 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9216, allocations: 0 / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.831e-05/0.9217, allocations: 164 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.9217, allocations: 0 / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.9217, allocations: 6.188 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9217, allocations: 1.312 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.9217, allocations: 0 / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9217, allocations: 1.5 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9218, allocations: 7.922 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.9219, allocations: 94.78 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.9219, allocations: 77.11 kB / 0.9594 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.9219, allocations: 1.312 kB / 0.9594 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.9219, allocations: 0 / 0.9594 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.922, allocations: 6.516 kB / 0.9594 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.922, allocations: 1.219 kB / 0.9594 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.922, allocations: 84.66 kB / 0.9595 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.922, allocations: 4 kB / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.9222, allocations: 24.03 kB / 0.9595 GB, free: 3.543 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: 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.0001279/0.9224, allocations: 105.4 kB / 0.9596 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.9226, allocations: 126 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.9226, allocations: 1.594 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.9226, allocations: 16.05 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.9228, allocations: 17.06 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.9231, allocations: 139.2 kB / 0.9599 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.9233, allocations: 0.6798 MB / 0.9606 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.9233, allocations: 2.75 kB / 0.9606 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.9233, allocations: 10.19 kB / 0.9606 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.9233, allocations: 0 / 0.9606 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.003799/0.9271, allocations: 1.027 MB / 0.9616 GB, free: 1.961 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches