Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001594/0.001594, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001468/0.001468, allocations: 165 kB / 24.16 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.328e-06/1.046e-05, allocations: 5.281 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002863/0.002874, allocations: 2.507 MB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.00447, allocations: 1.266 MB / 0.7637 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.004569, allocations: 9.281 kB / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.004908, allocations: 83.58 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.005204, allocations: 188.5 kB / 0.764 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.005466, allocations: 164.3 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.005712, allocations: 328.2 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.005923, allocations: 194.2 kB / 0.7646 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.006131, allocations: 196.9 kB / 0.7648 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.006332, allocations: 143.6 kB / 0.7649 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.006359, allocations: 20 kB / 0.765 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.006545, allocations: 160.8 kB / 0.7651 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.006631, allocations: 107.7 kB / 0.7652 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.006699, allocations: 83.81 kB / 0.7653 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.006975, allocations: 303 kB / 0.7656 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.006977, allocations: 1.25 kB / 0.7656 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006977, allocations: 0 / 0.7656 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.00698, allocations: 0 / 0.7656 GB, free: 0.9297 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004615/0.007441, allocations: 449.1 kB / 0.766 GB, free: 480 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.306e-05/0.007464, allocations: 8.562 kB / 0.766 GB, free: 472 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.007852, allocations: 117.9 kB / 0.7661 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.008017, allocations: 191.6 kB / 0.7663 GB, free: 140 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.008029, allocations: 12.88 kB / 0.7663 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.008087, allocations: 29.77 kB / 0.7663 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.008337, allocations: 279.7 kB / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.008346, allocations: 192 / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.00837, allocations: 16.86 kB / 0.7666 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.008421, allocations: 32.47 kB / 0.7667 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.008532, allocations: 80.14 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.00952, allocations: 0.8474 MB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.009694, allocations: 159.8 kB / 0.7677 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.009734, allocations: 38.02 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.009787, allocations: 11.98 kB / 0.7678 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.009804, allocations: 33.78 kB / 0.7678 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.009805, allocations: 4 kB / 0.7678 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0004863/0.01029, allocations: 359.6 kB / 0.7681 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.01031, allocations: 59.34 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.01041, allocations: 170.5 kB / 0.7684 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.01043, allocations: 33.7 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.01048, allocations: 160.5 kB / 0.7685 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.01052, allocations: 70.44 kB / 0.7686 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.01057, allocations: 53.62 kB / 0.7687 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.01065, allocations: 330.8 kB / 0.769 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.01069, allocations: 27.98 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.01075, allocations: 83.03 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.01087, allocations: 141.2 kB / 0.7692 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01087, allocations: 0 / 0.7692 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002519/0.01112, allocations: 203.6 kB / 0.7694 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.01113, allocations: 7.984 kB / 0.7694 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01113, allocations: 4 kB / 0.7694 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.01143, allocations: 97.39 kB / 0.7695 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.01154, allocations: 47.91 kB / 0.7696 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007755/0.01231, allocations: 1.346 MB / 0.7709 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.01239, allocations: 9.5 kB / 0.7709 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.0124, allocations: 4 kB / 0.7709 GB, free: 11.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.01247, allocations: 129.6 kB / 0.771 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.0125, allocations: 19.98 kB / 0.771 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.01266, allocations: 146.7 kB / 0.7712 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.01266, allocations: 0.6562 kB / 0.7712 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.91e-07/0.01266, allocations: 0 / 0.7712 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01266, allocations: 4.562 kB / 0.7712 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.01299, allocations: 419.3 kB / 0.7716 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01299, allocations: 4 kB / 0.7716 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01312, allocations: 43.97 kB / 0.7716 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01313, allocations: 5.688 kB / 0.7716 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01314, allocations: 8 kB / 0.7716 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01314, allocations: 0 / 0.7716 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01314, allocations: 7.938 kB / 0.7716 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.01334, allocations: 302.3 kB / 0.7719 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.01338, allocations: 35.78 kB / 0.772 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.0134, allocations: 4 kB / 0.772 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.01346, allocations: 8 kB / 0.772 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.01348, allocations: 11.97 kB / 0.772 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01349, allocations: 4 kB / 0.772 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.01353, allocations: 50.81 kB / 0.772 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01353, allocations: 2.031 kB / 0.772 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000188/0.01372, allocations: 68 kB / 0.7721 GB, free: 9.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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 8.955e-05/0.01381, allocations: 88.36 kB / 0.7722 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.01409, allocations: 274.1 kB / 0.7725 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.01409, allocations: 4 kB / 0.7725 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.01414, allocations: 59.17 kB / 0.7725 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01432, allocations: 43.8 kB / 0.7726 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.01507, allocations: 0.522 MB / 0.7731 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.798e-05/0.01513, allocations: 108.3 kB / 0.7732 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.898e-05/0.0152, allocations: 18.11 kB / 0.7732 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.0153, allocations: 79.36 kB / 0.7733 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.0153, allocations: 1.094 kB / 0.7733 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of Templates: time 0.004424/0.01972, allocations: 2.988 MB / 0.7762 GB, free: 5.742 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.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.100660917814821]