Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008865/0.0008865, 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.0009024/0.0009024, allocations: 165.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.8698/0.8698, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9809 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.598e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001109/0.001125, allocations: 0.6014 MB / 0.9815 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.00216, allocations: 1.131 MB / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.002198, allocations: 0 / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.002222, allocations: 4 kB / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.002279, allocations: 3.938 kB / 0.9826 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.002667, allocations: 127.8 kB / 0.9828 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.00279, allocations: 99.81 kB / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.002872, allocations: 0 / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.916e-05/0.002951, allocations: 55.89 kB / 0.9829 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.003028, allocations: 27.95 kB / 0.9829 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.003046, allocations: 8 kB / 0.9829 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.003099, allocations: 23.98 kB / 0.983 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.003117, allocations: 0 / 0.983 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.003157, allocations: 27.92 kB / 0.983 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003294, allocations: 99.75 kB / 0.9831 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003297, allocations: 8 kB / 0.9831 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003298, allocations: 0 / 0.9831 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003302, allocations: 0 / 0.9831 GB, free: 15.28 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.0003967/0.003699, allocations: 303.9 kB / 0.9834 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.003741, allocations: 8.031 kB / 0.9834 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.003773, allocations: 38.75 kB / 0.9834 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.00381, allocations: 8.938 kB / 0.9834 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.038e-05/0.00388, allocations: 113.7 kB / 0.9835 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.003903, allocations: 8.312 kB / 0.9835 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.003916, allocations: 4.375 kB / 0.9836 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.003995, allocations: 38.25 kB / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.004001, allocations: 192 / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.004008, allocations: 384 / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004013, allocations: 8.125 kB / 0.9836 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.004047, allocations: 11.98 kB / 0.9836 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.004343, allocations: 251.9 kB / 0.9838 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/0.004392, allocations: 30.5 kB / 0.9839 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.004408, allocations: 12.92 kB / 0.9839 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.004417, allocations: 0 / 0.9839 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.004523, allocations: 71.33 kB / 0.984 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004524, allocations: 0 / 0.984 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001593/0.004683, allocations: 65.81 kB / 0.984 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.004714, allocations: 55.41 kB / 0.9841 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.004768, allocations: 109.8 kB / 0.9842 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.004784, allocations: 29.7 kB / 0.9842 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.00482, allocations: 92.12 kB / 0.9843 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.004831, allocations: 15.94 kB / 0.9843 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.00488, allocations: 29.7 kB / 0.9843 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.00495, allocations: 310.8 kB / 0.9846 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.005015, allocations: 65.67 kB / 0.9847 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.005079, allocations: 80.27 kB / 0.9848 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.005149, allocations: 84.2 kB / 0.9849 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005151, allocations: 0 / 0.9849 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001686/0.00532, allocations: 189 kB / 0.985 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.005344, allocations: 33.7 kB / 0.9851 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005349, allocations: 3.984 kB / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.00536, allocations: 4 kB / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.005403, allocations: 3.984 kB / 0.9851 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.005409, allocations: 4 kB / 0.9851 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.005528, allocations: 27.92 kB / 0.9851 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.005542, allocations: 8 kB / 0.9851 GB, free: 12.95 MB / 0.9011 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 5.999e-05/0.005602, allocations: 117.8 kB / 0.9852 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-06/0.005609, allocations: 7.938 kB / 0.9852 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.005631, allocations: 15.92 kB / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005633, allocations: 0 / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.005637, allocations: 4 kB / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.005641, allocations: 4 kB / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.318e-05/0.005714, allocations: 128.8 kB / 0.9854 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005715, allocations: 0 / 0.9854 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.005726, allocations: 7.938 kB / 0.9854 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005727, allocations: 0 / 0.9854 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.005732, allocations: 0 / 0.9854 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.005732, allocations: 4 kB / 0.9854 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005734, allocations: 400 / 0.9854 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.983e-05/0.005813, allocations: 93.06 kB / 0.9855 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.005819, allocations: 3.938 kB / 0.9855 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-06/0.005829, allocations: 4 kB / 0.9855 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.005836, allocations: 3.938 kB / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.005856, allocations: 3.984 kB / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.005861, allocations: 4 kB / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.00589, allocations: 87.27 kB / 0.9856 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.00589, allocations: 0 / 0.9856 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000136/0.006026, allocations: 19.94 kB / 0.9856 GB, free: 12.37 MB / 0.9011 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.0002478/0.006274, allocations: 0.628 MB / 0.9862 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.006438, allocations: 149 kB / 0.9864 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00644, allocations: 0 / 0.9864 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.006458, allocations: 8 kB / 0.9864 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.006603, allocations: 14.02 kB / 0.9864 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.007816, allocations: 1.518 MB / 0.9879 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.007858, allocations: 67.47 kB / 0.9879 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.007884, allocations: 7.938 kB / 0.9879 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.007919, allocations: 16.5 kB / 0.9879 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of SimCode: time 6.51e-07/0.007919, allocations: 0 / 0.9879 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.02294, allocations: 2.768 MB / 0.9907 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.767, allocations: 3.594 kB / 0.9907 GB, free: 7.172 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.689597260206938]