Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001242/0.001242, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001473/0.001473, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.853/0.853, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.697/1.697, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.13e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001267/0.001288, allocations: 0.5868 MB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.002366, allocations: 1.14 MB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.002406, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.002434, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.002495, allocations: 11.88 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.002868, allocations: 133.8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.003002, allocations: 87.81 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003104, allocations: 8 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.003194, allocations: 47.97 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.003276, allocations: 27.94 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.003295, allocations: 8 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.003345, allocations: 23.98 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.003362, allocations: 3.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.0034, allocations: 23.98 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.003533, allocations: 103.8 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003535, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003536, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.003539, allocations: 3.938 kB / 1.002 GB, free: 11.32 MB / 0.9636 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.0003275/0.003867, allocations: 300 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.003907, allocations: 20.73 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.277e-05/0.00393, allocations: 30.75 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.00396, allocations: 4.938 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.744e-05/0.004027, allocations: 109.8 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.004049, allocations: 384 / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.004065, allocations: 12.31 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.924e-05/0.004144, allocations: 38.25 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004151, allocations: 192 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.004159, allocations: 4.359 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004164, allocations: 4.125 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.737e-05/0.004201, allocations: 15.98 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.004507, allocations: 248 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.004557, allocations: 30.5 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.004575, allocations: 12.92 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.004582, allocations: 0 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.004695, allocations: 71.33 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004696, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001624/0.004858, allocations: 73.58 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.00489, allocations: 51.41 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.004952, allocations: 114.1 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.004968, allocations: 29.7 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.005181, allocations: 92.12 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-06/0.00519, allocations: 3.953 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.005235, allocations: 29.7 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.269e-05/0.005318, allocations: 318.8 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.005391, allocations: 65.66 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.005457, allocations: 80.33 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.005535, allocations: 92.14 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005538, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001801/0.005718, allocations: 192.9 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.005745, allocations: 33.7 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00575, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.005761, allocations: 3.938 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.00581, allocations: 4 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005814, allocations: 0 / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.005934, allocations: 27.97 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.005949, allocations: 11.98 kB / 1.004 GB, free: 8.98 MB / 0.9636 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 7.173e-05/0.006021, allocations: 117.9 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.006028, allocations: 7.891 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.00605, allocations: 8 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006052, allocations: 3.938 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.006057, allocations: 0 / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.006061, allocations: 3.984 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.938e-05/0.00614, allocations: 128.8 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.006141, allocations: 0 / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.006152, allocations: 7.938 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006153, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.00616, allocations: 8 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.006162, allocations: 4.062 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006163, allocations: 0 / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.84e-05/0.006242, allocations: 85.11 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.006248, allocations: 7.891 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.006257, allocations: 0 / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.006268, allocations: 4 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.006289, allocations: 288 / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006293, allocations: 0 / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.006324, allocations: 95.2 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006324, allocations: 0 / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001366/0.006461, allocations: 23.94 kB / 1.004 GB, free: 8.406 MB / 0.9636 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.0002551/0.006716, allocations: 0.6242 MB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.006876, allocations: 149 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006878, allocations: 0 / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/0.006904, allocations: 12 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.007043, allocations: 11.92 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009826/0.008025, allocations: 1.522 MB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.008062, allocations: 67.34 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.008081, allocations: 4 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.00811, allocations: 12.5 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.00811, allocations: 0 / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.02206, allocations: 2.758 MB / 1.009 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.663, allocations: 13.61 kB / 1.009 GB, free: 3.207 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.568646579049528]