Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001724, allocations: 101.9 kB / 16.27 MB, free: 5.965 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.00195/0.00195, allocations: 188.6 kB / 17.2 MB, free: 5.59 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.463/1.463, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 64.81 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.321, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002203/0.3232, allocations: 0.8266 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.3234, allocations: 43.78 kB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.3234, allocations: 4 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.3235, allocations: 11.86 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.3236, allocations: 7.875 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.195e-05/0.3236, allocations: 19.98 kB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3237, allocations: 63.75 kB / 1.019 GB, free: 9.688 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3239, allocations: 47.95 kB / 1.019 GB, free: 9.641 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.324, allocations: 31.8 kB / 1.019 GB, free: 9.609 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.324, allocations: 23.86 kB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3241, allocations: 4 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.3241, allocations: 11.94 kB / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.3241, allocations: 19.92 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.3241, allocations: 31.75 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3243, allocations: 68.03 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3243, allocations: 12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3243, allocations: 0 / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3243, allocations: 0 / 1.019 GB, free: 9.441 MB / 0.795 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.0004679/0.3248, allocations: 375.2 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3248, allocations: 8.031 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3248, allocations: 8.844 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3251, allocations: 200.1 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3251, allocations: 4.312 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3251, allocations: 12.38 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3253, allocations: 95.86 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3253, allocations: 8.109 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3253, allocations: 3.938 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3253, allocations: 4 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.3254, allocations: 35.98 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.326, allocations: 440.7 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.254e-05/0.3261, allocations: 41.16 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.3261, allocations: 13.78 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.3261, allocations: 4 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3262, allocations: 42.5 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3262, allocations: 0 / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.3264, allocations: 53.53 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.3264, allocations: 81.05 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3266, allocations: 158.2 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3266, allocations: 25.7 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.3267, allocations: 104.2 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.3267, allocations: 11.89 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.3268, allocations: 17.72 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3269, allocations: 318.8 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.3269, allocations: 4 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.327, allocations: 17.72 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.327, allocations: 29.72 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.327, allocations: 0 / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.3271, allocations: 61.53 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3272, allocations: 4 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3272, allocations: 7.938 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3272, allocations: 4 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.3273, allocations: 7.938 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3273, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.3273, allocations: 11.84 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.3273, allocations: 3.938 kB / 1.021 GB, free: 7 MB / 0.795 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 9.195e-05/0.3274, allocations: 121.9 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3275, allocations: 7.906 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.3275, allocations: 19.75 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3275, allocations: 0 / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3275, allocations: 0 / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3275, allocations: 0 / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.3279, allocations: 470.8 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.328, allocations: 4 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.328, allocations: 7.984 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.328, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.328, allocations: 4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.328, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.328, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.191e-05/0.3281, allocations: 81.84 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.3282, allocations: 89 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3282, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.3282, allocations: 4 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.3283, allocations: 4 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.3283, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3284, allocations: 121.7 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3284, allocations: 0 / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001941/0.3286, allocations: 8 kB / 1.022 GB, free: 5.965 MB / 0.795 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.0001658/0.3287, allocations: 103.3 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3289, allocations: 19.94 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3289, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.3289, allocations: 8 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.3291, allocations: 10.59 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.3295, allocations: 188.8 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3299, allocations: 0.6889 MB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.33, allocations: 11.44 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.33, allocations: 4 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of Templates: time 0.002376/0.3323, allocations: 0.8658 MB / 1.024 GB, free: 4 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches