Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001355/0.001355, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001462/0.001462, allocations: 165.6 kB / 22.46 MB, free: 5.355 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.674/2.674, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_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.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.454e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005717/0.005752, allocations: 3.057 MB / 0.9539 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.009117, allocations: 1.683 MB / 0.9556 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.009344, allocations: 7.938 kB / 0.9556 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.0107, allocations: 334.7 kB / 0.9559 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007753/0.01147, allocations: 218.8 kB / 0.9561 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.01211, allocations: 183.4 kB / 0.9563 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.01267, allocations: 322.8 kB / 0.9566 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.01308, allocations: 173 kB / 0.9568 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.01355, allocations: 195.5 kB / 0.957 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.01397, allocations: 151.6 kB / 0.9571 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.01404, allocations: 20 kB / 0.9571 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.01452, allocations: 223.4 kB / 0.9573 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.01468, allocations: 103.7 kB / 0.9574 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.01483, allocations: 87.81 kB / 0.9575 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007899/0.01562, allocations: 446.6 kB / 0.9579 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01562, allocations: 0 / 0.9579 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01562, allocations: 4 kB / 0.958 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.01563, allocations: 0 / 0.958 GB, free: 4.383 MB / 0.8575 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.001228/0.01686, allocations: 489.4 kB / 0.9584 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.0169, allocations: 8.031 kB / 0.9584 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/0.01777, allocations: 104.6 kB / 0.9585 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.01819, allocations: 201.3 kB / 0.9587 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.01822, allocations: 20.88 kB / 0.9587 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.01834, allocations: 28.53 kB / 0.9588 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.01903, allocations: 421 kB / 0.9592 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.01905, allocations: 4.125 kB / 0.9592 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.01909, allocations: 12.12 kB / 0.9592 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.01921, allocations: 36.41 kB / 0.9592 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.01977, allocations: 301.8 kB / 0.9595 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.02161, allocations: 1.031 MB / 0.9605 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.02209, allocations: 210.4 kB / 0.9607 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.02227, allocations: 108.8 kB / 0.9608 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.02239, allocations: 8 kB / 0.9608 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.02243, allocations: 30.56 kB / 0.9609 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.02243, allocations: 0 / 0.9609 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001443/0.02387, allocations: 0.7276 MB / 0.9616 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.02392, allocations: 55.34 kB / 0.9616 GB, free: 436 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.02415, allocations: 195.4 kB / 0.9618 GB, free: 232 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.02418, allocations: 25.7 kB / 0.9618 GB, free: 200 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.02431, allocations: 172.5 kB / 0.962 GB, free: 24 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.0244, allocations: 63.62 kB / 0.9621 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.02451, allocations: 65.64 kB / 0.9621 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.02466, allocations: 322.8 kB / 0.9624 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.02486, allocations: 111.9 kB / 0.9625 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.02511, allocations: 173.9 kB / 0.9627 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.02559, allocations: 296.7 kB / 0.963 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.02559, allocations: 0 / 0.963 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009799/0.02657, allocations: 409.8 kB / 0.9634 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.02659, allocations: 4 kB / 0.9634 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.0266, allocations: 12.17 kB / 0.9634 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.02707, allocations: 96.7 kB / 0.9635 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.02734, allocations: 51.91 kB / 0.9635 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.02957, allocations: 1.737 MB / 0.9652 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.0298, allocations: 16.02 kB / 0.9652 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.02983, allocations: 12 kB / 0.9652 GB, free: 12.52 MB / 0.8731 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.0001987/0.03003, allocations: 157.7 kB / 0.9654 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.03009, allocations: 15.91 kB / 0.9654 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.03062, allocations: 307.2 kB / 0.9657 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.03063, allocations: 4 kB / 0.9657 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.03063, allocations: 0 / 0.9657 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.03063, allocations: 0 / 0.9657 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.03164, allocations: 0.6149 MB / 0.9663 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.03165, allocations: 0 / 0.9663 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.03197, allocations: 59.89 kB / 0.9664 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.03198, allocations: 8.062 kB / 0.9664 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.03199, allocations: 0 / 0.9664 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.032, allocations: 4 kB / 0.9664 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.032, allocations: 0 / 0.9664 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.03272, allocations: 0.5221 MB / 0.9669 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.03282, allocations: 39.86 kB / 0.9669 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.03286, allocations: 7.984 kB / 0.9669 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.03304, allocations: 16.05 kB / 0.967 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.0331, allocations: 19.86 kB / 0.967 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.03312, allocations: 8 kB / 0.967 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001502/0.03327, allocations: 144.3 kB / 0.9671 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6e-08/0.03327, allocations: 0 / 0.9671 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003719/0.03364, allocations: 64 kB / 0.9672 GB, free: 10.47 MB / 0.8731 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.00019/0.03383, allocations: 107.8 kB / 0.9673 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008136/0.03465, allocations: 409.3 kB / 0.9677 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.03465, allocations: 4 kB / 0.9677 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.03484, allocations: 111.8 kB / 0.9678 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.03524, allocations: 35.47 kB / 0.9678 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.03658, allocations: 0.5723 MB / 0.9684 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.03681, allocations: 161.2 kB / 0.9685 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.037, allocations: 57.91 kB / 0.9686 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.03709, allocations: 28.48 kB / 0.9686 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.03709, allocations: 0 / 0.9686 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of Templates: time 0.007955/0.04504, allocations: 2.768 MB / 0.9713 GB, free: 6.199 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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: 8.068922445178032]