Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001339/0.001339, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001502/0.001502, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",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.002117/0.002117, allocations: 64.5 kB / 1.118 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.345, allocations: 169.9 MB / 1.284 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002034/0.347, allocations: 0.6556 MB / 1.285 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3481, allocations: 0.8436 MB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.3482, allocations: 0 / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3482, allocations: 3.938 kB / 1.286 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.3483, allocations: 7.938 kB / 1.286 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.3485, allocations: 15.97 kB / 1.286 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.3486, allocations: 19.94 kB / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.3487, allocations: 7.984 kB / 1.286 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.3487, allocations: 11.94 kB / 1.286 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.3488, allocations: 15.92 kB / 1.286 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3488, allocations: 0 / 1.286 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.3488, allocations: 8 kB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.3489, allocations: 7.938 kB / 1.286 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.3489, allocations: 4 kB / 1.286 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.349, allocations: 40.09 kB / 1.286 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.349, allocations: 0 / 1.286 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.349, allocations: 0 / 1.286 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.349, allocations: 0 / 1.286 GB, free: 1.641 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004803/0.3495, allocations: 258.3 kB / 1.286 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3495, allocations: 12.03 kB / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/0.3496, allocations: 192 / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.3496, allocations: 38.75 kB / 1.286 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.3497, allocations: 4.938 kB / 1.286 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3498, allocations: 106.5 kB / 1.286 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3498, allocations: 8.375 kB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3498, allocations: 4.359 kB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.35, allocations: 53.98 kB / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.35, allocations: 0 / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3501, allocations: 0 / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3501, allocations: 0 / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.3502, allocations: 35.95 kB / 1.286 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.3506, allocations: 223.9 kB / 1.286 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3507, allocations: 42.5 kB / 1.286 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.3508, allocations: 20.91 kB / 1.287 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3508, allocations: 7.938 kB / 1.287 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3509, allocations: 30.56 kB / 1.287 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3509, allocations: 0 / 1.287 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003651/0.3512, allocations: 85.67 kB / 1.287 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3513, allocations: 55.41 kB / 1.287 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.3513, allocations: 97.84 kB / 1.287 GB, free: 424 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3514, allocations: 25.7 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.3514, allocations: 88.14 kB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.3514, allocations: 3.953 kB / 1.287 GB, free: 296 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.3515, allocations: 13.72 kB / 1.287 GB, free: 276 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3516, allocations: 318.8 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.3517, allocations: 11.98 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.287e-05/0.3518, allocations: 24.02 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3519, allocations: 36.77 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3519, allocations: 3.984 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.3521, allocations: 65.61 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.3522, allocations: 4 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3522, allocations: 3.938 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3522, allocations: 8.094 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.3523, allocations: 7.984 kB / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3523, allocations: 0 / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.3523, allocations: 7.984 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3524, allocations: 0 / 1.287 GB, free: 15.77 MB / 0.9981 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 (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 prepare postOptimizeDAE: time 9.846e-05/0.3525, allocations: 114.9 kB / 1.287 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3525, allocations: 7.953 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.3527, allocations: 72.97 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3527, allocations: 0 / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3527, allocations: 0 / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3527, allocations: 3.938 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.3529, allocations: 128.7 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3529, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.353, allocations: 11.98 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.353, allocations: 0 / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.353, allocations: 0 / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.353, allocations: 4 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.353, allocations: 0 / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3532, allocations: 171.4 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.3532, allocations: 4 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3532, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.3533, allocations: 7.984 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3534, allocations: 192 / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3534, allocations: 0 / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.3534, allocations: 91.25 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3534, allocations: 0 / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002141/0.3536, allocations: 8.031 kB / 1.288 GB, free: 15.09 MB / 0.9981 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 (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.0005952/0.3542, allocations: 0.6928 MB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.3544, allocations: 35.95 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3544, allocations: 0 / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.3545, allocations: 28.02 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3549, allocations: 4 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.3554, allocations: 136.8 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.3554, allocations: 67.33 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.3555, allocations: 0 / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.3555, allocations: 11.44 kB / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of SimCode: time 4.8e-07/0.3555, allocations: 0 / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.3769, allocations: 1.456 MB / 1.29 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.18, allocations: 8.062 kB / 1.29 GB, free: 12.71 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 18.898269644007087]