Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.000843/0.000843, 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.001126/0.001126, 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.9238/0.9238, 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 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.759/1.759, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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.BooleanToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9809 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.533e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001097/0.001112, allocations: 0.6012 MB / 0.9815 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.002196, allocations: 1.131 MB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.002233, allocations: 0 / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.002258, allocations: 0 / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.002321, allocations: 11.88 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.002689, allocations: 127.8 kB / 0.9828 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.00281, allocations: 91.83 kB / 0.9829 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.002894, allocations: 7.984 kB / 0.9829 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.002969, allocations: 47.97 kB / 0.9829 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.003045, allocations: 27.89 kB / 0.9829 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.003064, allocations: 12 kB / 0.9829 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.003115, allocations: 19.97 kB / 0.983 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.003137, allocations: 8 kB / 0.983 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.00318, allocations: 19.98 kB / 0.983 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.003324, allocations: 107.7 kB / 0.9831 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.003325, allocations: 0 / 0.9831 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003326, allocations: 0 / 0.9831 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.00333, allocations: 0 / 0.9831 GB, free: 15.26 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.0003815/0.003712, allocations: 303.9 kB / 0.9834 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.003753, allocations: 12.03 kB / 0.9834 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.003781, allocations: 38.73 kB / 0.9834 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.003816, allocations: 4.938 kB / 0.9834 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.003906, allocations: 105.8 kB / 0.9835 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.003928, allocations: 8.312 kB / 0.9835 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.003942, allocations: 4.375 kB / 0.9835 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.38e-05/0.004036, allocations: 42.25 kB / 0.9836 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004044, allocations: 192 / 0.9836 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.004054, allocations: 4.312 kB / 0.9836 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.004062, allocations: 4.125 kB / 0.9836 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.004106, allocations: 11.98 kB / 0.9836 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.004434, allocations: 251.9 kB / 0.9839 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.004482, allocations: 30.52 kB / 0.9839 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.0045, allocations: 16.91 kB / 0.9839 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.004507, allocations: 0 / 0.9839 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.004613, allocations: 63.33 kB / 0.984 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004614, allocations: 0 / 0.984 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001567/0.004771, allocations: 77.8 kB / 0.984 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.0048, allocations: 51.41 kB / 0.9841 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.652e-05/0.004857, allocations: 109.8 kB / 0.9842 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.004872, allocations: 29.7 kB / 0.9842 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.004911, allocations: 92.08 kB / 0.9843 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.004922, allocations: 11.94 kB / 0.9843 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.004963, allocations: 29.7 kB / 0.9843 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.005032, allocations: 318.8 kB / 0.9846 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.005096, allocations: 61.67 kB / 0.9847 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.093e-05/0.005157, allocations: 76.58 kB / 0.9848 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.359e-05/0.00523, allocations: 88.2 kB / 0.9849 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005232, allocations: 0 / 0.9849 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001644/0.005396, allocations: 184.9 kB / 0.985 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.005424, allocations: 45.75 kB / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.00543, allocations: 0 / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.00544, allocations: 0 / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.005484, allocations: 4 kB / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.005488, allocations: 80 / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.005609, allocations: 24.03 kB / 0.9851 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.005623, allocations: 15.97 kB / 0.9851 GB, free: 12.92 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: 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 6.302e-05/0.005686, allocations: 120.5 kB / 0.9852 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-06/0.005692, allocations: 7.938 kB / 0.9852 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.005713, allocations: 11.94 kB / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005714, allocations: 0 / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005718, allocations: 0 / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005721, allocations: 0 / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.838e-05/0.005799, allocations: 140.7 kB / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.0058, allocations: 0 / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.005808, allocations: 3.938 kB / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00581, allocations: 4 kB / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.005816, allocations: 0 / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005816, allocations: 0 / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005817, allocations: 4 kB / 0.9854 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.143e-05/0.005888, allocations: 89.02 kB / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.005894, allocations: 7.922 kB / 0.9855 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.005903, allocations: 0 / 0.9855 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-06/0.00591, allocations: 0 / 0.9855 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.005934, allocations: 8 kB / 0.9855 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005937, allocations: 0 / 0.9855 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.005965, allocations: 91.2 kB / 0.9856 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.005966, allocations: 3.938 kB / 0.9856 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001331/0.006099, allocations: 19.94 kB / 0.9856 GB, free: 12.35 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: 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.0002557/0.006354, allocations: 0.628 MB / 0.9862 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.006524, allocations: 145 kB / 0.9864 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006526, allocations: 0 / 0.9864 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.006546, allocations: 12 kB / 0.9864 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.006685, allocations: 7.984 kB / 0.9864 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.007752, allocations: 1.516 MB / 0.9879 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.007791, allocations: 67.45 kB / 0.9879 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.007811, allocations: 8 kB / 0.9879 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.007841, allocations: 8.5 kB / 0.9879 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of SimCode: time 3.81e-07/0.007841, allocations: 0 / 0.9879 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.02239, allocations: 2.78 MB / 0.9907 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.735, allocations: 2.297 kB / 0.9907 GB, free: 7.156 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.768220809288323]