Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_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.001361/0.001361, 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.001306/0.001306, allocations: 196.3 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.515/2.515, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 70.11 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2584, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001765/0.2602, allocations: 0.6055 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2616, allocations: 1.117 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.2616, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2617, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.2617, allocations: 7.922 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.2622, allocations: 126.5 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2623, allocations: 95.83 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.2624, allocations: 7.984 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.171e-05/0.2625, allocations: 39.91 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.2625, allocations: 23.91 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.2626, allocations: 12 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.335e-05/0.2626, allocations: 19.98 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.2626, allocations: 11.94 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.2627, allocations: 27.91 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.2628, allocations: 83.78 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2629, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2629, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.2629, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 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.0004185/0.2633, allocations: 381.4 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2633, allocations: 16.03 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.2634, allocations: 30.75 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.2634, allocations: 4.938 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2635, allocations: 172.3 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2636, allocations: 4.375 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2636, allocations: 8.359 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.507e-05/0.2637, allocations: 50.12 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2637, allocations: 3.938 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.2637, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.2637, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.2637, allocations: 12 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.2641, allocations: 292.8 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.988e-05/0.2642, allocations: 34.45 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.2642, allocations: 12.92 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.2642, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.2644, allocations: 63.39 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2644, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.2645, allocations: 69.58 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2646, allocations: 59.34 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.2647, allocations: 109.8 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.2647, allocations: 25.7 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2648, allocations: 84.14 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.2648, allocations: 11.91 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.2648, allocations: 33.7 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.265, allocations: 314.8 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.265, allocations: 31.98 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.2651, allocations: 50.5 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2652, allocations: 96.2 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2653, allocations: 4 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002351/0.2655, allocations: 147.2 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.2655, allocations: 37.69 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2656, allocations: 4 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2656, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.2656, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2656, allocations: 4 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.2658, allocations: 27.97 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2658, allocations: 12.05 kB / 1.068 GB, free: 9.57 MB / 0.8262 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 8.099e-05/0.2659, allocations: 117.8 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.2659, allocations: 4 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.266, allocations: 3.906 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.266, allocations: 0 / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.266, allocations: 0 / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.266, allocations: 0 / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.2661, allocations: 173.6 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2661, allocations: 3.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.2661, allocations: 8 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2662, allocations: 3.938 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.2662, allocations: 3.984 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2662, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2662, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.2663, allocations: 93.19 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.2663, allocations: 77.11 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.2663, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.2664, allocations: 11.98 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.2664, allocations: 4 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.2664, allocations: 4 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.2664, allocations: 79.28 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2665, allocations: 4 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001917/0.2666, allocations: 19.98 kB / 1.069 GB, free: 8.871 MB / 0.8262 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.0003833/0.267, allocations: 0.6279 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.2673, allocations: 127.3 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2673, allocations: 3.938 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.2673, allocations: 16 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.2675, allocations: 15.92 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2688, allocations: 1.386 MB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.2691, allocations: 0.6768 MB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.2691, allocations: 4 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.2691, allocations: 11.44 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2691, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.995/2.264, allocations: 1.989 MB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/12.41, allocations: 20.12 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches