Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.006384/0.006384, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.001731/0.001731, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.31/1.31, 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.1.0-maint.11.x/package.mo): time 2.611/2.611, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2595, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00191/0.2614, allocations: 0.9024 MB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.2624, allocations: 0.8779 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.2625, allocations: 7.938 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.2626, allocations: 7.875 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.2626, allocations: 7.875 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2628, allocations: 75.83 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.263, allocations: 135.8 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2632, allocations: 65.39 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.2632, allocations: 51.78 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.2633, allocations: 59.75 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.2633, allocations: 12 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.2634, allocations: 16 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.2634, allocations: 39.78 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.2635, allocations: 55.66 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2636, allocations: 143.4 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2637, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2637, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2637, allocations: 4 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005866/0.2643, allocations: 438.9 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2643, allocations: 8.031 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.2643, allocations: 50.73 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.2644, allocations: 16.84 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.2646, allocations: 227.3 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2647, allocations: 8.375 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2647, allocations: 12.38 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.265, allocations: 150.6 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.265, allocations: 3.938 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.265, allocations: 8 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2651, allocations: 7.938 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.2654, allocations: 131.9 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.2661, allocations: 492.2 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.2663, allocations: 86.42 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.2664, allocations: 52.83 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2664, allocations: 3.984 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.2665, allocations: 34.56 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2665, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004444/0.2669, allocations: 153.7 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.267, allocations: 51.41 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2672, allocations: 207.4 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2672, allocations: 25.7 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.2673, allocations: 112.1 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.2673, allocations: 35.69 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.2673, allocations: 25.72 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2675, allocations: 326.8 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2676, allocations: 35.98 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2677, allocations: 47.97 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.268, allocations: 100.8 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.268, allocations: 3.938 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003032/0.2683, allocations: 145.5 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2683, allocations: 4 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2683, allocations: 4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2683, allocations: 11.94 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2685, allocations: 23.98 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2685, allocations: 3.938 kB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.2686, allocations: 23.83 kB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2686, allocations: 4 kB / 1.226 GB, free: 8.551 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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 8.934e-05/0.2687, allocations: 121.8 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.2688, allocations: 11.95 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.2691, allocations: 147.2 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2691, allocations: 4 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2691, allocations: 0 / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2691, allocations: 0 / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.2697, allocations: 456.9 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2697, allocations: 0 / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.2698, allocations: 31.92 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2698, allocations: 0 / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2699, allocations: 0 / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.2699, allocations: 7.984 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2699, allocations: 0 / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.2702, allocations: 241.9 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.2703, allocations: 97 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2703, allocations: 4 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.2704, allocations: 11.98 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.2705, allocations: 15.92 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2705, allocations: 8 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001178/0.2706, allocations: 149.1 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2706, allocations: 0 / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002311/0.2709, allocations: 24 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0006502/0.2715, allocations: 0.7734 MB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.2718, allocations: 99.86 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2718, allocations: 0 / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.272, allocations: 55.91 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.2723, allocations: 16.22 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.2744, allocations: 1.908 MB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.2747, allocations: 0.7045 MB / 1.23 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.863e-05/0.2747, allocations: 21.08 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.2748, allocations: 43.36 kB / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.2748, allocations: 0 / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.911/2.186, allocations: 2.796 MB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/15.07, allocations: 13.55 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches