Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.002063/0.002063, allocations: 101.6 kB / 16.45 MB, free: 6.5 MB / 14.72 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.002164/0.002164, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.344/3.344, allocations: 0.49 GB / 0.7916 GB, free: 33.15 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Sources.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 69.7 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3491, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00212/0.3513, allocations: 0.6181 MB / 1.321 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3523, allocations: 0.8553 MB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.3523, allocations: 0 / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.3524, allocations: 0 / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.3524, allocations: 3.938 kB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3526, allocations: 12 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.3526, allocations: 15.92 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.3527, allocations: 4 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3528, allocations: 31.84 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.3529, allocations: 0 / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.3529, allocations: 4 kB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.3529, allocations: 8 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.353, allocations: 3.938 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.353, allocations: 3.984 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.3531, allocations: 28.12 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3531, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3531, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.3531, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004287/0.3535, allocations: 335.5 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3536, allocations: 15.98 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.3536, allocations: 30.75 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.3538, allocations: 8.938 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3539, allocations: 168.3 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3539, allocations: 384 / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.3539, allocations: 384 / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.354, allocations: 46.19 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3541, allocations: 7.938 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.3541, allocations: 0 / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3541, allocations: 0 / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.054e-05/0.3541, allocations: 15.92 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.3543, allocations: 153.7 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.3544, allocations: 22.58 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.3544, allocations: 12.91 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3544, allocations: 7.938 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3545, allocations: 30.56 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3545, allocations: 0 / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001983/0.3547, allocations: 53.62 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3547, allocations: 55.34 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.3548, allocations: 105.8 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3548, allocations: 25.83 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.3548, allocations: 84.14 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3549, allocations: 4 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.3549, allocations: 17.7 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.355, allocations: 310.8 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.3551, allocations: 4 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.3551, allocations: 15.92 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3552, allocations: 24.91 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3552, allocations: 0 / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000133/0.3553, allocations: 49.64 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3554, allocations: 7.938 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3554, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3554, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.3554, allocations: 4 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.3554, allocations: 0 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.3555, allocations: 12.27 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3555, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.26e-05/0.3556, allocations: 108 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.3556, allocations: 11.88 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.3556, allocations: 7.125 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3556, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3556, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3556, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.3557, allocations: 149.7 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3557, allocations: 0 / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.3558, allocations: 11.98 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3558, allocations: 3.938 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.3558, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3558, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3558, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.3559, allocations: 73.12 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.356, allocations: 88.98 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.356, allocations: 11.91 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.356, allocations: 3.938 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.356, allocations: 4 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.356, allocations: 0 / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.3561, allocations: 87.2 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3561, allocations: 0 / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001822/0.3563, allocations: 4 kB / 1.324 GB, free: 15.26 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0004556/0.3567, allocations: 0.6085 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3568, allocations: 15.98 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3568, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/0.3569, allocations: 15.92 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.357, allocations: 10.05 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.3574, allocations: 136.3 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.3577, allocations: 0.6729 MB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.3577, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.3577, allocations: 7.438 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3577, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.3796, allocations: 1.121 MB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.358, allocations: 11.86 kB / 1.327 GB, free: 12.66 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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: 15.27959761605598]