Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 443.5 MB / 0.7304 GB, free: 14.04 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 59.91 kB / 1.059 GB, free: 1.105 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2687, allocations: 160.7 MB / 1.216 GB, free: 76 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001666/0.2704, allocations: 0.6165 MB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2717, allocations: 1.121 MB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.2717, allocations: 4 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.2718, allocations: 3.938 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.2718, allocations: 7.938 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.2722, allocations: 119.5 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2724, allocations: 99.8 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.2725, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.2725, allocations: 35.92 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.2726, allocations: 39.88 kB / 1.218 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.2726, allocations: 8 kB / 1.218 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.2727, allocations: 19.98 kB / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.2727, allocations: 4 kB / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.2728, allocations: 35.91 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.2729, allocations: 87.94 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2729, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2729, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.2729, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 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.0004382/0.2734, allocations: 381 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2734, allocations: 12.03 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.2734, allocations: 34.75 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.2735, allocations: 4.938 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2736, allocations: 168.3 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2736, allocations: 12.36 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.2736, allocations: 4.375 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.2737, allocations: 42.25 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2737, allocations: 3.938 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.2737, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2737, allocations: 3.984 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.2738, allocations: 11.88 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.2741, allocations: 304.8 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.083e-05/0.2742, allocations: 34.52 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.2742, allocations: 4.859 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.2742, allocations: 4.062 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.2744, allocations: 59.33 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.2744, allocations: 4 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001823/0.2745, allocations: 69.67 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2746, allocations: 55.41 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.2747, allocations: 109.8 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2747, allocations: 29.7 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.2747, allocations: 88.14 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.2748, allocations: 3.953 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.2748, allocations: 29.7 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2749, allocations: 322.8 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.275, allocations: 27.98 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.2751, allocations: 54.5 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.2752, allocations: 88.2 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2752, allocations: 0 / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002505/0.2755, allocations: 147.2 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.2755, allocations: 41.69 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2755, allocations: 8.062 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2755, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.2756, allocations: 3.938 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2756, allocations: 4 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.2758, allocations: 23.97 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2758, allocations: 4 kB / 1.22 GB, free: 11.43 MB / 0.9669 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 8.635e-05/0.2759, allocations: 121.8 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.2759, allocations: 8 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.2759, allocations: 7.906 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2759, allocations: 64 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2759, allocations: 4 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2759, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.276, allocations: 169.6 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.276, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.2761, allocations: 7.938 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2761, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.2761, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2761, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2761, allocations: 4 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2762, allocations: 104.9 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.2762, allocations: 81.05 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2762, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.2763, allocations: 3.938 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.2763, allocations: 4 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2763, allocations: 3.984 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.2763, allocations: 87.67 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2763, allocations: 4 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001945/0.2765, allocations: 12 kB / 1.22 GB, free: 10.71 MB / 0.9669 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.0004242/0.277, allocations: 0.6321 MB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2771, allocations: 111.4 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2772, allocations: 4.062 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.2772, allocations: 19.92 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.2774, allocations: 4.234 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2788, allocations: 1.392 MB / 1.222 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2791, allocations: 0.6846 MB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.2791, allocations: 4 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.2791, allocations: 11.44 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.2791, allocations: 0 / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3034, allocations: 1.994 MB / 1.225 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.269, allocations: 10.02 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booToRea.u in file Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv. Warning: Get data of variable booToRea.u from file Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.51386683400051]