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.009026/0.009027, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001803/0.001803, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 75.86 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504/1.506, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.004345/1.511, allocations: 0.6169 MB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002934/1.514, allocations: 1.114 MB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/1.514, allocations: 0.75 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/1.514, allocations: 4 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/1.514, allocations: 6.031 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/1.515, allocations: 123.3 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003523/1.515, allocations: 94.81 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/1.516, allocations: 8.844 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/1.516, allocations: 34.91 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/1.516, allocations: 34.69 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/1.516, allocations: 8.812 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/1.516, allocations: 21.8 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/1.516, allocations: 6.203 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/1.516, allocations: 31.22 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/1.516, allocations: 87.8 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.517, allocations: 4.797 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/1.517, allocations: 1.125 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.767e-06/1.517, allocations: 0 / 1.09 GB, free: 3.875 MB / 0.8575 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.0005582/1.517, allocations: 379.3 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/1.517, allocations: 9.594 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/1.517, allocations: 31.88 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/1.517, allocations: 8.969 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/1.517, allocations: 172 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.517, allocations: 3.625 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/1.518, allocations: 5.547 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/1.518, allocations: 43.59 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.518, allocations: 4.453 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/1.518, allocations: 1.094 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.518, allocations: 0 / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/1.518, allocations: 10.36 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/1.518, allocations: 290.8 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/1.518, allocations: 34.73 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/1.518, allocations: 16.8 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/1.518, allocations: 1.625 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/1.519, allocations: 58.41 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/1.519, allocations: 1 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000302/1.519, allocations: 68.53 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.519, allocations: 53.3 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.519, allocations: 118.9 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/1.519, allocations: 27.67 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/1.519, allocations: 83.45 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/1.519, allocations: 10.94 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.519, allocations: 29.81 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/1.52, allocations: 313.7 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/1.52, allocations: 32.53 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.52, allocations: 53.89 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/1.52, allocations: 91.05 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/1.52, allocations: 4 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004746/1.521, allocations: 149.1 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/1.521, allocations: 35.59 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.521, allocations: 0.7188 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.521, allocations: 1.656 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/1.521, allocations: 7.422 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.521, allocations: 0.6562 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/1.521, allocations: 36.89 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/1.521, allocations: 6.062 kB / 1.092 GB, free: 1.852 MB / 0.8575 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.0001086/1.521, allocations: 119.1 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/1.521, allocations: 7.016 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/1.521, allocations: 5.766 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.521, allocations: 4.688 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.521, allocations: 0 / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.521, allocations: 1.469 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/1.522, allocations: 167.2 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.522, allocations: 0.7969 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/1.522, allocations: 6.312 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.522, allocations: 1.609 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.522, allocations: 5 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.522, allocations: 3.938 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.522, allocations: 1.547 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/1.522, allocations: 94.8 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/1.522, allocations: 79.22 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/1.522, allocations: 1.484 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/1.522, allocations: 1.547 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/1.522, allocations: 2.562 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/1.522, allocations: 6.219 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.072e-05/1.522, allocations: 83.5 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.522, allocations: 0 / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00044/1.523, allocations: 23.27 kB / 1.092 GB, free: 1.234 MB / 0.8575 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.0005261/1.523, allocations: 0.6211 MB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00038/1.523, allocations: 126.5 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.523, allocations: 0.75 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/1.524, allocations: 18.47 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/1.524, allocations: 18.41 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/1.526, allocations: 1.39 MB / 1.094 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/1.527, allocations: 0.68 MB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.273e-05/1.527, allocations: 6.562 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/1.527, allocations: 15.14 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/1.527, allocations: 0 / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7713/2.298, allocations: 2.015 MB / 1.097 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/18.62, allocations: 9.156 kB / 1.097 GB, free: 14.13 MB / 0.8731 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