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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.001411/0.001411, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.387/2.387, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 59.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6179/0.6194, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001779/0.6212, allocations: 0.5975 MB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.6222, allocations: 1.12 MB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.6223, allocations: 1.219 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.6223, allocations: 3.938 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.6224, allocations: 9.609 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.6228, allocations: 121.5 kB / 0.9515 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.6229, allocations: 90.73 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.623, allocations: 11.11 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.6231, allocations: 36.5 kB / 0.9517 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.6231, allocations: 27.62 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.6232, allocations: 8.938 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.75e-05/0.6232, allocations: 24.58 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.6233, allocations: 6.656 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.6233, allocations: 33.03 kB / 0.9518 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.6234, allocations: 83.97 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.6235, allocations: 0 / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6235, allocations: 1.531 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6235, allocations: 0 / 0.9518 GB, free: 7.531 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.0003647/0.6238, allocations: 378.6 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6239, allocations: 13.38 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.6239, allocations: 31.69 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.624, allocations: 9.312 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.924e-05/0.624, allocations: 173.8 kB / 0.9524 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6241, allocations: 15.52 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.6241, allocations: 4.125 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.6242, allocations: 41.31 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6242, allocations: 3.938 kB / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.6242, allocations: 3.938 kB / 0.9525 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6242, allocations: 0 / 0.9525 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.6243, allocations: 6.5 kB / 0.9525 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.6246, allocations: 295.2 kB / 0.9528 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.6246, allocations: 25.89 kB / 0.9528 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.6247, allocations: 12.52 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.6247, allocations: 0 / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.6248, allocations: 66.98 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6248, allocations: 0 / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001815/0.625, allocations: 75.52 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.625, allocations: 52.69 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.6251, allocations: 107.1 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.6251, allocations: 28.08 kB / 0.9531 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.6252, allocations: 86.67 kB / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.6252, allocations: 13.03 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.6252, allocations: 30.3 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.6253, allocations: 320.3 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.6254, allocations: 32.08 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.6254, allocations: 48.69 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.6255, allocations: 90.42 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6256, allocations: 0 / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000217/0.6258, allocations: 148.7 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.6258, allocations: 44.81 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.6258, allocations: 1.062 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6258, allocations: 2.062 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.6259, allocations: 2.156 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6259, allocations: 1.516 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.6261, allocations: 27.72 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.6261, allocations: 9.641 kB / 0.9539 GB, free: 5.391 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 6.875e-05/0.6262, allocations: 126.1 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.6262, allocations: 6.312 kB / 0.9541 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.6263, allocations: 9.188 kB / 0.9541 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.6263, allocations: 3.938 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6263, allocations: 0 / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6263, allocations: 1.312 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.368e-05/0.6264, allocations: 172.6 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6264, allocations: 0 / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.6264, allocations: 2.25 kB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.6264, allocations: 0 / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.6264, allocations: 5.281 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6264, allocations: 3.938 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6264, allocations: 1.281 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.6265, allocations: 90.48 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.6266, allocations: 85.02 kB / 0.9544 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.6266, allocations: 1.25 kB / 0.9544 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.6266, allocations: 5.5 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.6266, allocations: 5.109 kB / 0.9544 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.6267, allocations: 5.031 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.6267, allocations: 84.78 kB / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6267, allocations: 1.188 kB / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.6269, allocations: 14.28 kB / 0.9545 GB, free: 4.742 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.0003158/0.6272, allocations: 0.6252 MB / 0.9552 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.6274, allocations: 134.6 kB / 0.9553 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6275, allocations: 0 / 0.9553 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.6275, allocations: 12.66 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.6277, allocations: 8.516 kB / 0.9553 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.6289, allocations: 1.382 MB / 0.9566 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.629, allocations: 0.6834 MB / 0.9573 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.629, allocations: 6.219 kB / 0.9573 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.629, allocations: 17.56 kB / 0.9573 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.629, allocations: 0 / 0.9573 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.6459, allocations: 1.988 MB / 0.9593 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.228, allocations: 5.938 kB / 0.9593 GB, free: 0.9141 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > 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/jenkins1/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