Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008681/0.0008681, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9115/0.9115, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.396e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001221/0.001235, allocations: 0.8453 MB / 0.9819 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.002104, allocations: 0.9211 MB / 0.9828 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.002173, allocations: 3.938 kB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.002205, allocations: 7.875 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.002269, allocations: 11.88 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.00244, allocations: 67.83 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.002595, allocations: 135.7 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.002728, allocations: 49.59 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.002812, allocations: 79.8 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.002876, allocations: 43.86 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.002913, allocations: 12 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.002931, allocations: 12 kB / 0.9832 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.00296, allocations: 31.91 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.002993, allocations: 39.84 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.003129, allocations: 151.4 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.003132, allocations: 4 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003132, allocations: 4 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003136, allocations: 0 / 0.9834 GB, free: 92 kB / 0.9323 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.0004385/0.003574, allocations: 357.9 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.003611, allocations: 12.03 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.003645, allocations: 46.73 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.003677, allocations: 16.84 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.003859, allocations: 161.5 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.003871, allocations: 12.38 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.003885, allocations: 12.38 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.00412, allocations: 227.8 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.004127, allocations: 4.188 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.004139, allocations: 4.375 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.004147, allocations: 12.11 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.004317, allocations: 127.9 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.004802, allocations: 435.4 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.005027, allocations: 78.55 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.005097, allocations: 44.95 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.005118, allocations: 7.938 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.005141, allocations: 38.5 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 9.21e-07/0.005142, allocations: 0 / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002817/0.005423, allocations: 157.5 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.005451, allocations: 55.41 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.005575, allocations: 196.6 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.005588, allocations: 33.64 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.005647, allocations: 116 kB / 0.9854 GB, free: 13.78 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.005665, allocations: 39.66 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.005701, allocations: 29.7 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.005776, allocations: 322.8 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.005847, allocations: 43.98 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.005909, allocations: 43.97 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.00604, allocations: 94.69 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006042, allocations: 3.938 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001809/0.006223, allocations: 145.5 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.006234, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006238, allocations: 4 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.006248, allocations: 0 / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.006336, allocations: 23.98 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.006342, allocations: 4 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.006386, allocations: 19.83 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006395, allocations: 8 kB / 0.9862 GB, free: 12.99 MB / 0.948 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 5.75e-05/0.006452, allocations: 117.8 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.006472, allocations: 19.84 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.006662, allocations: 143 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.006665, allocations: 4.469 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006669, allocations: 0 / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006673, allocations: 3.984 kB / 0.9865 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.007024, allocations: 400 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007026, allocations: 4 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.007078, allocations: 31.95 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007079, allocations: 0 / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.007087, allocations: 4 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007089, allocations: 0 / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00709, allocations: 0 / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.007266, allocations: 241.9 kB / 0.9871 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.007284, allocations: 19.84 kB / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.007299, allocations: 11.98 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.007366, allocations: 15.98 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.007406, allocations: 11.98 kB / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.007412, allocations: 4 kB / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.007483, allocations: 148 kB / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007483, allocations: 0 / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001585/0.007641, allocations: 20 kB / 0.9873 GB, free: 11.71 MB / 0.948 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.0003468/0.007988, allocations: 0.7734 MB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.008158, allocations: 103.3 kB / 0.9882 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.00816, allocations: 0 / 0.9882 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.734e-05/0.008227, allocations: 51.97 kB / 0.9882 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.008437, allocations: 22.89 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.009824, allocations: 1.901 MB / 0.9901 GB, free: 8.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.696e-05/0.009881, allocations: 98.7 kB / 0.9902 GB, free: 8.617 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.009919, allocations: 17.14 kB / 0.9902 GB, free: 8.602 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.009977, allocations: 40.48 kB / 0.9903 GB, free: 8.562 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.009977, allocations: 0 / 0.9903 GB, free: 8.562 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.02402, allocations: 3.55 MB / 0.9937 GB, free: 5.172 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.726, allocations: 0 / 0.9937 GB, free: 5.172 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.72651569917798]