Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001028/0.001028, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009701/0.0009702, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.402/2.402, allocations: 461.8 MB / 0.7342 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.22 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.231, allocations: 157.4 MB / 1.052 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002038/0.2331, allocations: 0.8901 MB / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001054/0.2332, allocations: 39.78 kB / 1.053 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.2333, allocations: 4 kB / 1.053 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.2333, allocations: 11.92 kB / 1.053 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.2334, allocations: 0 / 1.053 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-05/0.2335, allocations: 19.98 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.2335, allocations: 55.8 kB / 1.053 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2337, allocations: 47.94 kB / 1.053 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.2337, allocations: 23.88 kB / 1.053 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.2338, allocations: 27.84 kB / 1.053 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2338, allocations: 4 kB / 1.053 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.2338, allocations: 4 kB / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2338, allocations: 11.94 kB / 1.053 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.2339, allocations: 39.73 kB / 1.053 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.415e-05/0.2339, allocations: 67.98 kB / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.234, allocations: 0 / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.91e-07/0.234, allocations: 0 / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.234, allocations: 0 / 1.053 GB, free: 7.047 MB / 0.8106 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.0003474/0.2343, allocations: 383.3 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2344, allocations: 11.97 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.2344, allocations: 38.75 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.2344, allocations: 8.844 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2346, allocations: 188.2 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2346, allocations: 12.28 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2346, allocations: 8.359 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2348, allocations: 107.8 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2348, allocations: 3.938 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.2348, allocations: 4 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2348, allocations: 4 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.2349, allocations: 35.92 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.2353, allocations: 444.6 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.2354, allocations: 33.22 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.2354, allocations: 21.81 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.2355, allocations: 0 / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.2355, allocations: 34.56 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.2355, allocations: 4 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.2356, allocations: 57.47 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.2357, allocations: 77.11 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2358, allocations: 168.6 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2358, allocations: 25.7 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.2359, allocations: 100 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.2359, allocations: 11.91 kB / 1.055 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.2359, allocations: 13.97 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.236, allocations: 322.8 kB / 1.055 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.236, allocations: 8 kB / 1.055 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.2361, allocations: 13.72 kB / 1.055 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.2361, allocations: 29.66 kB / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2361, allocations: 0 / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.694e-05/0.2362, allocations: 65.53 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2362, allocations: 9.5 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2362, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.2362, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.2363, allocations: 8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2363, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.2363, allocations: 15.84 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.2364, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 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.474e-05/0.2364, allocations: 117.9 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.2365, allocations: 15.84 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.2365, allocations: 7.875 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2365, allocations: 4 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2365, allocations: 3.938 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2365, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.2368, allocations: 470.8 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2368, allocations: 0 / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.2369, allocations: 12.05 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2369, allocations: 3.938 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.2369, allocations: 0 / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2369, allocations: 4 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2369, allocations: 3.984 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.014e-05/0.237, allocations: 77.78 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.237, allocations: 97.03 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.237, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.2371, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.2371, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.2371, allocations: 4 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.332e-05/0.2372, allocations: 122.1 kB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2372, allocations: 0 / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001779/0.2374, allocations: 4 kB / 1.056 GB, free: 3.516 MB / 0.8106 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.0002884/0.2376, allocations: 0.6209 MB / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.2377, allocations: 19.98 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2377, allocations: 0 / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.2378, allocations: 12.16 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.2379, allocations: 8.062 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.2389, allocations: 1.34 MB / 1.058 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2391, allocations: 0.6965 MB / 1.059 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.2391, allocations: 4.438 kB / 1.059 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.2392, allocations: 27.42 kB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2392, allocations: 0 / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.256, allocations: 1.422 MB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.2562, allocations: 219.7 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.807, allocations: 0 / 1.061 GB, free: 15.07 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches