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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_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.001254/0.001257, allocations: 108 kB / 15.6 MB, free: 132 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.001295/0.001295, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.506/2.506, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 62.81 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2313, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001678/0.233, allocations: 0.6057 MB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2342, allocations: 1.117 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.2343, allocations: 4 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.2343, allocations: 3.938 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.2344, allocations: 3.938 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2348, allocations: 121.3 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2349, allocations: 99.83 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.235, allocations: 3.984 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.2351, allocations: 35.97 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.2351, allocations: 23.91 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.2352, allocations: 8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.2352, allocations: 27.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.2353, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.2353, allocations: 43.83 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.2355, allocations: 87.72 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2355, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2355, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2355, allocations: 0 / 1.066 GB, free: 12.3 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.0003581/0.2359, allocations: 377.4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2359, allocations: 8.031 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.2359, allocations: 38.75 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.236, allocations: 8.938 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.875e-05/0.2361, allocations: 168.3 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2361, allocations: 4.375 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.2361, allocations: 8.375 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.642e-05/0.2362, allocations: 38.25 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2362, allocations: 3.938 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2362, allocations: 7.938 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2362, allocations: 0 / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.575e-05/0.2363, allocations: 11.94 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.2366, allocations: 296.8 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.2367, allocations: 30.58 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.2367, allocations: 4.859 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.2367, allocations: 4 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.2368, allocations: 63.33 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.2368, allocations: 4 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000171/0.237, allocations: 77.56 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2371, allocations: 51.41 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.2371, allocations: 113.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.2372, allocations: 29.7 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.2372, allocations: 84.14 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.2372, allocations: 3.906 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.2373, allocations: 33.7 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.2374, allocations: 322.8 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.2375, allocations: 35.97 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.2375, allocations: 46.5 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.2377, allocations: 88.2 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2377, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002352/0.2379, allocations: 159.1 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.2379, allocations: 39.25 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.238, allocations: 0 / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.238, allocations: 0 / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.238, allocations: 7.938 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.238, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.2382, allocations: 23.97 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2383, allocations: 15.98 kB / 1.068 GB, free: 9.859 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 7.021e-05/0.2383, allocations: 117.8 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.2384, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.2384, allocations: 11.91 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2384, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2384, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2384, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.2385, allocations: 165.6 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2385, allocations: 4.062 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.2385, allocations: 0 / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2385, allocations: 8 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2386, allocations: 0 / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2386, allocations: 7.922 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2386, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.2387, allocations: 92.91 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.2387, allocations: 81.11 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.2387, allocations: 0 / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.2387, allocations: 0 / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.2388, allocations: 7.984 kB / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2388, allocations: 4 kB / 1.068 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.2388, allocations: 83.28 kB / 1.068 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2388, allocations: 0 / 1.068 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002074/0.239, allocations: 19.98 kB / 1.068 GB, free: 9.168 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.0003438/0.2394, allocations: 0.6323 MB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.2396, allocations: 123.4 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2396, allocations: 0 / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.2396, allocations: 15.94 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2398, allocations: 7.984 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.241, allocations: 1.393 MB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.2412, allocations: 0.6807 MB / 1.071 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.2413, allocations: 0.7656 kB / 1.071 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.2413, allocations: 11.44 kB / 1.071 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2413, allocations: 0 / 1.071 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.2569, allocations: 2.005 MB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.963, allocations: 10.5 kB / 1.073 GB, free: 4.262 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches