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.0009265/0.0009265, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008748/0.0008748, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9161/0.9161, allocations: 177.1 MB / 203.5 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.792/1.792, allocations: 377.8 MB / 0.6228 GB, free: 8.691 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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.096e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001307/0.001338, allocations: 0.6131 MB / 0.9828 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.002498, allocations: 1.131 MB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002539, allocations: 0 / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.002567, allocations: 3.938 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.002628, allocations: 11.94 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.003027, allocations: 129.4 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.00318, allocations: 91.83 kB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.003275, allocations: 0 / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.003364, allocations: 51.95 kB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.003453, allocations: 23.95 kB / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.003473, allocations: 8 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.003529, allocations: 23.98 kB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.003548, allocations: 3.938 kB / 0.9842 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.003604, allocations: 32.02 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.003755, allocations: 95.72 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003757, allocations: 0 / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.003759, allocations: 4 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003763, allocations: 3.938 kB / 0.9843 GB, free: 15.89 MB / 0.948 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.0003837/0.004147, allocations: 315.8 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.004192, allocations: 8.031 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.004237, allocations: 4.938 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.887e-05/0.004316, allocations: 109.8 kB / 0.9847 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.004337, allocations: 4.375 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.004357, allocations: 12.38 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.004443, allocations: 38.25 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.00445, allocations: 192 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.004459, allocations: 384 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004464, allocations: 384 / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.004504, allocations: 15.92 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.004816, allocations: 224.5 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.004866, allocations: 22.58 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.004885, allocations: 12.92 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.004895, allocations: 3.984 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.005022, allocations: 71.33 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005023, allocations: 0 / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.005194, allocations: 81.59 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.005228, allocations: 51.41 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.005296, allocations: 113.8 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.005321, allocations: 29.7 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.005366, allocations: 88.14 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.00538, allocations: 7.891 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.005427, allocations: 29.7 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.005513, allocations: 322.8 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.005586, allocations: 57.69 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.00566, allocations: 88.19 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.005742, allocations: 84.27 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.005744, allocations: 0 / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001851/0.005929, allocations: 181 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.005963, allocations: 45.62 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005967, allocations: 0 / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005978, allocations: 0 / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.00603, allocations: 7.938 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.006035, allocations: 8 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.006166, allocations: 23.97 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.00618, allocations: 7.984 kB / 0.9863 GB, free: 13.63 MB / 0.948 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 7.076e-05/0.006251, allocations: 117.8 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.006258, allocations: 0 / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.006279, allocations: 7.938 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.006283, allocations: 4.062 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.006288, allocations: 4 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.006292, allocations: 7.938 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.018e-05/0.006362, allocations: 109.3 kB / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006364, allocations: 4 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.006376, allocations: 0 / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006378, allocations: 0 / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.006386, allocations: 7.984 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006388, allocations: 7.938 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006389, allocations: 0 / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.68e-05/0.006475, allocations: 81.06 kB / 0.9866 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.006482, allocations: 4 kB / 0.9866 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.006492, allocations: 0 / 0.9866 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.006503, allocations: 7.938 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.006529, allocations: 7.984 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006533, allocations: 0 / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.006565, allocations: 87.27 kB / 0.9867 GB, free: 13.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006565, allocations: 0 / 0.9867 GB, free: 13.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001468/0.006712, allocations: 19.95 kB / 0.9868 GB, free: 13.1 MB / 0.948 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.0003754/0.007088, allocations: 111.2 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.007265, allocations: 141 kB / 0.987 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007266, allocations: 0 / 0.987 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.007292, allocations: 16.12 kB / 0.987 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.007465, allocations: 11.98 kB / 0.987 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.007739, allocations: 142.7 kB / 0.9872 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.00778, allocations: 67.34 kB / 0.9872 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.007799, allocations: 12.5 kB / 0.9872 GB, free: 12.53 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.0078, allocations: 3.938 kB / 0.9872 GB, free: 12.52 MB / 0.948 GB Notification: Performance of Templates: time 0.001871/0.00967, allocations: 0.9504 MB / 0.9882 GB, free: 11.59 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] 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: 6.9134678691625595]