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.0009914/0.0009914, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001058/0.001058, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 1.022/1.022, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.924/1.924, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.525e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001553/0.001578, allocations: 0.6349 MB / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.00239, allocations: 0.8643 MB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.002425, allocations: 1.719 kB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.00245, allocations: 3.938 kB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.002503, allocations: 1.859 kB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.002649, allocations: 8.875 kB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.002711, allocations: 21.88 kB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.002754, allocations: 0 / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.002898, allocations: 29.92 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.002939, allocations: 8.891 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.002951, allocations: 4.656 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.002985, allocations: 0.9688 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.002997, allocations: 8.656 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.099e-05/0.003008, allocations: 0.875 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.629e-05/0.003084, allocations: 17.53 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003086, allocations: 0.6875 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003087, allocations: 0 / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.00309, allocations: 1.031 kB / 0.7616 GB, free: 5.008 MB / 0.7136 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.0002542/0.003344, allocations: 230.2 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.003378, allocations: 12.03 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.003478, allocations: 9.609 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.591e-05/0.003554, allocations: 107.6 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.003563, allocations: 384 / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.003571, allocations: 384 / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.00365, allocations: 54.89 kB / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.003656, allocations: 1.406 kB / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.003662, allocations: 384 / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003666, allocations: 384 / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.305e-05/0.003679, allocations: 7.938 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.666e-05/0.003746, allocations: 55.11 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.429e-05/0.00378, allocations: 23.25 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.008e-05/0.00379, allocations: 4.859 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.003801, allocations: 7.922 kB / 0.7621 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.00383, allocations: 34.62 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.003831, allocations: 0.75 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.396e-05/0.003915, allocations: 30.58 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.003945, allocations: 52.06 kB / 0.7622 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.607e-05/0.004001, allocations: 115.3 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.004011, allocations: 25.7 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.004031, allocations: 82.05 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.00405, allocations: 0 / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.004073, allocations: 17.7 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.004146, allocations: 320 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.004153, allocations: 3.938 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.004161, allocations: 5.188 kB / 0.7628 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.801e-05/0.004179, allocations: 4.859 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.004181, allocations: 4.531 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.368e-05/0.004215, allocations: 30.89 kB / 0.7628 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.004225, allocations: 7.984 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.004233, allocations: 0.875 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.004247, allocations: 4 kB / 0.7628 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.004294, allocations: 5.156 kB / 0.7628 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.004296, allocations: 0 / 0.7628 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.004309, allocations: 4.5 kB / 0.7628 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.004312, allocations: 1.969 kB / 0.7628 GB, free: 3.629 MB / 0.7136 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 4.705e-05/0.00436, allocations: 121.7 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-06/0.004364, allocations: 0 / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.00438, allocations: 11.14 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.004382, allocations: 4.766 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.004383, allocations: 2.75 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-06/0.004386, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.759e-05/0.004433, allocations: 65.84 kB / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.004434, allocations: 0 / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.004444, allocations: 3.984 kB / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.004445, allocations: 0 / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.00445, allocations: 4.656 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.00445, allocations: 0 / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004451, allocations: 1.688 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.502e-05/0.004496, allocations: 57.06 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.004502, allocations: 7.984 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.004508, allocations: 0.9375 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.004516, allocations: 0.875 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.004536, allocations: 7.938 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.004537, allocations: 0.875 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.105e-05/0.004549, allocations: 12.84 kB / 0.7631 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004549, allocations: 0.5 kB / 0.7631 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 8.667e-05/0.004635, allocations: 0 / 0.7631 GB, free: 3.293 MB / 0.7136 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 7.797e-05/0.004713, allocations: 79.55 kB / 0.7632 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.622e-05/0.004759, allocations: 12.86 kB / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.004761, allocations: 0.6562 kB / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.004774, allocations: 8.859 kB / 0.7632 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.333e-05/0.004827, allocations: 3.938 kB / 0.7632 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.005147, allocations: 127 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.005174, allocations: 51.36 kB / 0.7634 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.276e-05/0.005187, allocations: 0.7656 kB / 0.7634 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.005219, allocations: 56.56 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of SimCode: time 6.22e-07/0.005219, allocations: 0 / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of Templates: time 0.001577/0.006796, allocations: 303.5 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.00448771007359]