Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.829/2.829, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 73.3 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2508, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001871/0.2527, allocations: 0.825 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.702e-05/0.2529, allocations: 43.78 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.2529, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.253, allocations: 11.86 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.253, allocations: 7.938 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.409e-05/0.2531, allocations: 15.98 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.2532, allocations: 71.77 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2533, allocations: 43.97 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.189e-05/0.2534, allocations: 27.86 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.2534, allocations: 23.86 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.2535, allocations: 4 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.2535, allocations: 12 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.2535, allocations: 15.92 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.2535, allocations: 35.75 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.184e-05/0.2536, allocations: 71.97 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2536, allocations: 4 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2537, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2537, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003508/0.254, allocations: 367.2 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2541, allocations: 12.03 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.2541, allocations: 46.73 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.2541, allocations: 16.75 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.2543, allocations: 192.1 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2543, allocations: 4.375 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2544, allocations: 8.375 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2545, allocations: 103.8 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2545, allocations: 3.938 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2545, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2545, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.2546, allocations: 35.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.2551, allocations: 440.5 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.2551, allocations: 37.28 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.2552, allocations: 25.73 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.2552, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2552, allocations: 34.56 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2552, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.2554, allocations: 53.7 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.2554, allocations: 81.14 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2556, allocations: 164.6 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2556, allocations: 25.7 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.2556, allocations: 100 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.2556, allocations: 3.906 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.2557, allocations: 17.72 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.2558, allocations: 322.8 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.2558, allocations: 8 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.2558, allocations: 21.7 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.2559, allocations: 25.66 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2559, allocations: 0 / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.084e-05/0.256, allocations: 57.61 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.256, allocations: 15.86 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.256, allocations: 4.062 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.256, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.2561, allocations: 8 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2561, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.2561, allocations: 7.844 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.2561, allocations: 4 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.753e-05/0.2562, allocations: 115.6 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.2562, allocations: 11.84 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.2563, allocations: 11.86 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.2563, allocations: 8 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2563, allocations: 7.938 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2563, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.2566, allocations: 470.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2567, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.2567, allocations: 4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2567, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.2567, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2567, allocations: 8.062 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2567, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.399e-05/0.2568, allocations: 85.77 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2568, allocations: 85.02 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2569, allocations: 3.984 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.2569, allocations: 0 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.2569, allocations: 4.031 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2569, allocations: 4 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.074e-05/0.257, allocations: 125.9 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.257, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001991/0.2572, allocations: 4 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003182/0.2575, allocations: 0.6269 MB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.2576, allocations: 16 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2576, allocations: 0 / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.2576, allocations: 7.938 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.2578, allocations: 11.42 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2588, allocations: 1.32 MB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2591, allocations: 0.6968 MB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.2591, allocations: 12.5 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2591, allocations: 19.44 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2591, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.2751, allocations: 1.552 MB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.297, allocations: 6 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches