Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.007868/0.007869, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001987/0.001988, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3327, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001866/0.3346, allocations: 0.7023 MB / 1.208 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3356, allocations: 0.8 MB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.3357, allocations: 0 / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.3357, allocations: 7.922 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.3358, allocations: 3.938 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.3359, allocations: 15.98 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.336, allocations: 39.86 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3362, allocations: 15.98 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.3363, allocations: 19.92 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.3363, allocations: 23.91 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3363, allocations: 4 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.3364, allocations: 4 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.3364, allocations: 11.92 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.3364, allocations: 11.94 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.804e-05/0.3365, allocations: 43.81 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3365, allocations: 0 / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3365, allocations: 0 / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3366, allocations: 4 kB / 1.209 GB, free: 8.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005749/0.3371, allocations: 369.8 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3372, allocations: 8.625 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.3372, allocations: 34.75 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.3373, allocations: 0.9375 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3374, allocations: 176.2 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3374, allocations: 384 / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3374, allocations: 8.312 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3377, allocations: 78.14 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3377, allocations: 3.938 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.3377, allocations: 0 / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3377, allocations: 0 / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.338, allocations: 63.92 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.3384, allocations: 268.9 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3386, allocations: 58.48 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3388, allocations: 40.91 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3388, allocations: 4 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3388, allocations: 30.56 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3389, allocations: 0 / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005533/0.3394, allocations: 125.6 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3395, allocations: 55.41 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.3395, allocations: 117.8 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3396, allocations: 25.7 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.3396, allocations: 84.08 kB / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3396, allocations: 11.91 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3397, allocations: 13.72 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.3398, allocations: 318.8 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3399, allocations: 31.97 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3401, allocations: 35.95 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.3404, allocations: 68.73 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3404, allocations: 3.938 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003293/0.3407, allocations: 105.5 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3407, allocations: 8 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3407, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3408, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3409, allocations: 19.92 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3409, allocations: 0 / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.341, allocations: 11.98 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.341, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 7.811e-05/0.3411, allocations: 117.8 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3411, allocations: 4.328 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.3415, allocations: 105.5 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3415, allocations: 4 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3415, allocations: 4 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3415, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3417, allocations: 169.5 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3417, allocations: 0 / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.3418, allocations: 19.91 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.3418, allocations: 4 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3419, allocations: 7.938 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3419, allocations: 320 / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3419, allocations: 0 / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.3423, allocations: 195.3 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.3423, allocations: 81.09 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3423, allocations: 4 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3424, allocations: 11.98 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3425, allocations: 8 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3425, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.3425, allocations: 95.25 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3425, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002173/0.3428, allocations: 4 kB / 1.212 GB, free: 5.055 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006889/0.3435, allocations: 0.7357 MB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.3438, allocations: 67.92 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3438, allocations: 0 / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.344, allocations: 39.91 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3443, allocations: 15.92 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.3448, allocations: 159 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.345, allocations: 0.6807 MB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.3451, allocations: 4 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.3451, allocations: 19.44 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3451, allocations: 0 / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.3628, allocations: 1.652 MB / 1.215 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.245, allocations: 4.578 kB / 1.215 GB, free: 1.68 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches