Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.678/1.678, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.145e-06/3.145e-06, allocations: 0 / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.675e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001389/0.001415, allocations: 0.5985 MB / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.002495, allocations: 1.132 MB / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.002535, allocations: 0 / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.002561, allocations: 0 / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.002624, allocations: 7.875 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.003015, allocations: 130.6 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.003136, allocations: 87.83 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.003215, allocations: 7.984 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.003292, allocations: 51.95 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.003368, allocations: 23.97 kB / 0.9525 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.003386, allocations: 8 kB / 0.9525 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.00344, allocations: 15.98 kB / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.003459, allocations: 11.94 kB / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.003498, allocations: 27.95 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003635, allocations: 99.77 kB / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003637, allocations: 0 / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.422e-06/0.003639, allocations: 7.875 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003643, allocations: 0 / 0.9526 GB, free: 1.324 MB / 0.9011 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.0003441/0.003987, allocations: 305.8 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004022, allocations: 16.03 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.501e-05/0.004047, allocations: 30.75 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.004078, allocations: 4.938 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.852e-05/0.004147, allocations: 105.7 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.004165, allocations: 8.375 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.004179, allocations: 8.359 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.261e-05/0.004251, allocations: 34.27 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.004258, allocations: 192 / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.004268, allocations: 8.359 kB / 0.9531 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.004273, allocations: 4.125 kB / 0.9531 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.004305, allocations: 4 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.004614, allocations: 259.9 kB / 0.9534 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.004668, allocations: 26.52 kB / 0.9534 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.004687, allocations: 12.92 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.004696, allocations: 0 / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.004823, allocations: 71.31 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.004824, allocations: 0 / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001738/0.004997, allocations: 73.81 kB / 0.9536 GB, free: 228 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.005032, allocations: 55.39 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.005096, allocations: 109.8 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.005114, allocations: 33.7 kB / 0.9537 GB, free: 0 / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.00517, allocations: 88.14 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.005181, allocations: 3.953 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.005224, allocations: 29.7 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.00541, allocations: 322.8 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.00549, allocations: 57.69 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.005555, allocations: 84.25 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.00563, allocations: 84.22 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005632, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001799/0.005812, allocations: 193 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.005841, allocations: 37.7 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.005847, allocations: 3.938 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.00586, allocations: 3.984 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.005912, allocations: 4 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.005917, allocations: 0 / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.006043, allocations: 27.92 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.006056, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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 6.996e-05/0.006126, allocations: 129.8 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.006136, allocations: 7.922 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.006158, allocations: 4 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.006161, allocations: 4 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006165, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006168, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.508e-05/0.006253, allocations: 132.8 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006254, allocations: 0 / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.006265, allocations: 3.938 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.006267, allocations: 4 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.006273, allocations: 4 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006275, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006276, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.973e-05/0.006355, allocations: 85.06 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.006362, allocations: 7.938 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006373, allocations: 4.062 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.006388, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.00642, allocations: 15.92 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.006424, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.006454, allocations: 83.67 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006454, allocations: 0 / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001515/0.006606, allocations: 23.94 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0002699/0.006876, allocations: 0.6313 MB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.007036, allocations: 145 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007038, allocations: 0 / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-05/0.007057, allocations: 12 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.007205, allocations: 15.91 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.008213, allocations: 1.524 MB / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.008254, allocations: 71.25 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.008274, allocations: 4 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.008304, allocations: 8.5 kB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.008304, allocations: 0 / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.02677, allocations: 2.762 MB / 0.9602 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.735, allocations: 10.17 kB / 0.9602 GB, free: 9.215 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.67943270970136]