Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_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.005895/0.005894, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001376/0.001376, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.303/2.303, allocations: 437.1 MB / 0.7106 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2407, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001455/0.2422, allocations: 0.6012 MB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2434, allocations: 1.121 MB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.2434, allocations: 4 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.2434, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.2435, allocations: 7.875 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.2439, allocations: 123.2 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.244, allocations: 91.89 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.2441, allocations: 15.97 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.2442, allocations: 35.86 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.2443, allocations: 31.89 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2443, allocations: 8 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.161e-05/0.2444, allocations: 27.97 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2444, allocations: 4 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.2444, allocations: 31.91 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2446, allocations: 88.02 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2446, allocations: 0 / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2446, allocations: 0 / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2446, allocations: 0 / 1.168 GB, free: 5.133 MB / 0.92 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.000403/0.245, allocations: 385 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.245, allocations: 8.031 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.2451, allocations: 34.73 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.2451, allocations: 4.938 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2452, allocations: 164.4 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2452, allocations: 4.375 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2453, allocations: 12.31 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.744e-05/0.2453, allocations: 38.25 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2454, allocations: 3.938 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2454, allocations: 3.984 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2454, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.2454, allocations: 15.94 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.2457, allocations: 296.8 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.554e-05/0.2458, allocations: 34.45 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.2458, allocations: 8.922 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-06/0.2459, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.246, allocations: 67.38 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.246, allocations: 0 / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.2461, allocations: 69.62 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.2462, allocations: 55.39 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.2463, allocations: 113.8 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.2463, allocations: 33.7 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.2464, allocations: 84.14 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.2464, allocations: 7.953 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.2464, allocations: 29.7 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2466, allocations: 314.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.2466, allocations: 35.92 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.2467, allocations: 50.56 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.2468, allocations: 88.14 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2468, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002298/0.2471, allocations: 155.2 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.2471, allocations: 37.69 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2471, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.2471, allocations: 4.062 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.698e-05/0.2472, allocations: 4 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2472, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2474, allocations: 28.03 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2474, allocations: 8 kB / 1.17 GB, free: 2.699 MB / 0.92 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.063e-05/0.2475, allocations: 121.8 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.2475, allocations: 0 / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2475, allocations: 11.91 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2475, allocations: 7.938 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2475, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2475, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.2476, allocations: 165.6 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2476, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.2477, allocations: 3.938 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2477, allocations: 240 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2477, allocations: 4 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2477, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2477, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.2478, allocations: 101 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.2478, allocations: 77.11 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.2479, allocations: 4 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.2479, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.2479, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.2479, allocations: 4 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.248, allocations: 91.59 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.248, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000184/0.2482, allocations: 23.94 kB / 1.171 GB, free: 1.992 MB / 0.92 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.0003655/0.2485, allocations: 0.6241 MB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2487, allocations: 127.3 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2487, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.2488, allocations: 20.11 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.2489, allocations: 12.16 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2502, allocations: 1.392 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.2504, allocations: 0.6807 MB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.2505, allocations: 4 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.2505, allocations: 15.44 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2505, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.104/2.354, allocations: 2.018 MB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/15.43, allocations: 9.609 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches