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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001155/0.001155, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001419/0.001419, allocations: 179 kB / 16.27 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.391/2.391, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 9.406 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2382, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007019/0.239, allocations: 349.8 kB / 1.059 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2403, allocations: 1.12 MB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.2404, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.2404, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.2405, allocations: 7.938 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2409, allocations: 106.4 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.241, allocations: 87.75 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.2411, allocations: 7.984 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.2411, allocations: 27.98 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.2412, allocations: 23.91 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.2412, allocations: 4 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.2413, allocations: 19.97 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.2413, allocations: 4 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.2414, allocations: 61.55 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.2415, allocations: 79.78 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2415, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2415, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.2415, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 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.0003517/0.2419, allocations: 365.5 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2419, allocations: 15.97 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.242, allocations: 30.75 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.242, allocations: 8.844 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.2421, allocations: 168.4 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2422, allocations: 12.36 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.2422, allocations: 8.375 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.845e-05/0.2423, allocations: 38.25 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2423, allocations: 3.938 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.2423, allocations: 0 / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2423, allocations: 0 / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.2424, allocations: 11.94 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.2427, allocations: 296.7 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.431e-05/0.2428, allocations: 34.52 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.2428, allocations: 12.92 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.2428, allocations: 0 / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.243, allocations: 79.31 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.243, allocations: 0 / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001708/0.2431, allocations: 65.67 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2432, allocations: 59.41 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.2433, allocations: 109.8 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2433, allocations: 25.7 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2433, allocations: 95.98 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.2434, allocations: 3.906 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.2434, allocations: 13.72 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.2435, allocations: 322.8 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.2436, allocations: 27.98 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.2437, allocations: 54.5 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2438, allocations: 88.2 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2438, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002224/0.244, allocations: 147.2 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.2441, allocations: 41.69 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2441, allocations: 4.062 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2441, allocations: 4 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.2442, allocations: 3.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2442, allocations: 4 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.2444, allocations: 31.97 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2444, allocations: 11.98 kB / 1.063 GB, free: 0.5156 MB / 0.8106 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.718e-05/0.2445, allocations: 117.8 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.2445, allocations: 7.906 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.2446, allocations: 7.906 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2446, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2446, allocations: 4 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2446, allocations: 3.984 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2447, allocations: 157.6 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2447, allocations: 4 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.2447, allocations: 4 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2447, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.2447, allocations: 3.984 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.2447, allocations: 4 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2447, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.2449, allocations: 93.22 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.2449, allocations: 81.02 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2449, allocations: 0 / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.245, allocations: 8.047 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.245, allocations: 8 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.245, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.245, allocations: 87.28 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2451, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002032/0.2453, allocations: 19.98 kB / 1.063 GB, free: 15.82 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.0003795/0.2456, allocations: 0.6319 MB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.2458, allocations: 119.4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2459, allocations: 3.938 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.2459, allocations: 23.92 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.2461, allocations: 9.359 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2473, allocations: 1.386 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2475, allocations: 0.6848 MB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.2476, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.2476, allocations: 19.42 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2476, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6645/0.9121, allocations: 1.78 MB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.9123, allocations: 220.2 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.541, allocations: 1.625 kB / 1.068 GB, free: 10.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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