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.001121/0.001121, allocations: 80.8 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.001545/0.001545, allocations: 161 kB / 24.16 MB, free: 336 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.047/1.047, 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 2.012/2.012, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] 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.743e-06/1.743e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.044e-05, allocations: 6.25 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004611/0.004642, allocations: 2.561 MB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.007144, allocations: 1.266 MB / 0.7638 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.007327, allocations: 8.688 kB / 0.7638 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.007873, allocations: 83.58 kB / 0.7639 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.008349, allocations: 193.9 kB / 0.7641 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.008796, allocations: 155.5 kB / 0.7642 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.009221, allocations: 328.3 kB / 0.7645 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.009566, allocations: 190.2 kB / 0.7647 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.009918, allocations: 187.6 kB / 0.7649 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.01024, allocations: 148.8 kB / 0.765 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.01029, allocations: 24 kB / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.01062, allocations: 159.7 kB / 0.7652 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.01075, allocations: 105 kB / 0.7653 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.01086, allocations: 99.73 kB / 0.7654 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.01134, allocations: 295.1 kB / 0.7657 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.01135, allocations: 3.938 kB / 0.7657 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.275e-06/0.01135, allocations: 0.9062 kB / 0.7657 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.01136, allocations: 0 / 0.7657 GB, free: 0.875 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.0007767/0.01214, allocations: 455.7 kB / 0.7661 GB, free: 420 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.01218, allocations: 8.031 kB / 0.7661 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006995/0.01288, allocations: 116.6 kB / 0.7662 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.01318, allocations: 187 kB / 0.7664 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.0132, allocations: 12.88 kB / 0.7664 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.842e-05/0.01329, allocations: 31.3 kB / 0.7664 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.0142, allocations: 279.7 kB / 0.7667 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01422, allocations: 192 / 0.7667 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.01424, allocations: 12.12 kB / 0.7667 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.454e-05/0.01433, allocations: 32.47 kB / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.01451, allocations: 83.38 kB / 0.7668 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01563, allocations: 0.8436 MB / 0.7677 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.01588, allocations: 160.7 kB / 0.7678 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.01594, allocations: 36.84 kB / 0.7679 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/0.01602, allocations: 8.75 kB / 0.7679 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.01605, allocations: 35.12 kB / 0.7679 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.555e-06/0.01606, allocations: 3.312 kB / 0.7679 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0007611/0.01682, allocations: 358.8 kB / 0.7682 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.01685, allocations: 55.41 kB / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.01699, allocations: 174.5 kB / 0.7685 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01701, allocations: 25.7 kB / 0.7685 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.01709, allocations: 164.5 kB / 0.7686 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.01714, allocations: 75.34 kB / 0.7687 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.01723, allocations: 56.72 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01733, allocations: 326.8 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.0174, allocations: 27.98 kB / 0.7691 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.0175, allocations: 86.97 kB / 0.7692 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.01768, allocations: 133.6 kB / 0.7693 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01768, allocations: 0 / 0.7693 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003982/0.01808, allocations: 210.5 kB / 0.7695 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.0181, allocations: 4 kB / 0.7695 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.0181, allocations: 5.281 kB / 0.7695 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.01855, allocations: 107.7 kB / 0.7696 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.01872, allocations: 45.06 kB / 0.7697 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.01995, allocations: 1.342 MB / 0.771 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.02007, allocations: 11.98 kB / 0.771 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.02008, allocations: 9.156 kB / 0.771 GB, free: 11.08 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 0.0001102/0.0202, allocations: 120.7 kB / 0.7711 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.02024, allocations: 20.92 kB / 0.7711 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.0205, allocations: 142.4 kB / 0.7713 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.0205, allocations: 4.562 kB / 0.7713 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.0205, allocations: 2.625 kB / 0.7713 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.02051, allocations: 4 kB / 0.7713 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.02106, allocations: 418.1 kB / 0.7717 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.02106, allocations: 0 / 0.7717 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.02134, allocations: 74.89 kB / 0.7718 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.02134, allocations: 3.938 kB / 0.7718 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.02136, allocations: 8 kB / 0.7718 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02136, allocations: 0 / 0.7718 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02137, allocations: 0 / 0.7718 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.02169, allocations: 299.9 kB / 0.772 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.02176, allocations: 39.72 kB / 0.7721 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.02179, allocations: 4 kB / 0.7721 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.0219, allocations: 8.75 kB / 0.7721 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.02193, allocations: 11.97 kB / 0.7721 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.02195, allocations: 8.594 kB / 0.7721 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.02202, allocations: 50.22 kB / 0.7722 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.02202, allocations: 0 / 0.7722 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003599/0.02238, allocations: 67.94 kB / 0.7722 GB, free: 9.762 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 0.0001741/0.02255, allocations: 88.41 kB / 0.7723 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005137/0.02307, allocations: 276.9 kB / 0.7726 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.02308, allocations: 4 kB / 0.7726 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.02316, allocations: 54.95 kB / 0.7726 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.0235, allocations: 45.48 kB / 0.7727 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.0248, allocations: 0.5221 MB / 0.7732 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.02489, allocations: 100.3 kB / 0.7733 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.02501, allocations: 29.39 kB / 0.7733 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.02516, allocations: 84.72 kB / 0.7734 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of SimCode: time 1.252e-06/0.02516, allocations: 0 / 0.7734 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of Templates: time 0.00692/0.03208, allocations: 2.98 MB / 0.7763 GB, free: 5.672 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 -s gbode -gbm=radauIIA3 -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.130769781768322]