Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 75.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005418/0.3224, allocations: 3.137 MB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.3256, allocations: 1.741 MB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.3258, allocations: 4 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.3269, allocations: 334.7 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006438/0.3276, allocations: 219.1 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.3281, allocations: 175.5 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.3286, allocations: 327 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.329, allocations: 180.8 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3292, allocations: 139.6 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3296, allocations: 167.4 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.3296, allocations: 24 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.3301, allocations: 251.5 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3302, allocations: 99.72 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3304, allocations: 127.4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.331, allocations: 422.5 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.331, allocations: 0 / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.331, allocations: 0 / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.331, allocations: 0 / 1.221 GB, free: 9.621 MB / 0.9669 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.001073/0.332, allocations: 0.5532 MB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3321, allocations: 12.03 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/0.3328, allocations: 100.6 kB / 1.222 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.3333, allocations: 251.9 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3333, allocations: 24.8 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3334, allocations: 28.55 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.3341, allocations: 369.2 kB / 1.222 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3341, allocations: 3.938 kB / 1.222 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.3341, allocations: 15.94 kB / 1.222 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.3342, allocations: 28.41 kB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.3347, allocations: 305.5 kB / 1.223 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3368, allocations: 1.526 MB / 1.224 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.3372, allocations: 226.3 kB / 1.225 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3374, allocations: 100.8 kB / 1.225 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.3375, allocations: 89.11 kB / 1.225 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.3376, allocations: 38.55 kB / 1.225 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.3376, allocations: 0 / 1.225 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001366/0.339, allocations: 0.7946 MB / 1.226 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.339, allocations: 55.41 kB / 1.226 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3392, allocations: 194.7 kB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3393, allocations: 33.64 kB / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.3394, allocations: 156.2 kB / 1.226 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.3394, allocations: 79.31 kB / 1.226 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3396, allocations: 53.7 kB / 1.226 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002489/0.3398, allocations: 338.8 kB / 1.226 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.34, allocations: 107.9 kB / 1.226 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.3402, allocations: 167.5 kB / 1.227 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/0.3406, allocations: 296.7 kB / 1.227 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3406, allocations: 0 / 1.227 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008908/0.3415, allocations: 418 kB / 1.227 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3416, allocations: 6.031 kB / 1.227 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3416, allocations: 7.984 kB / 1.227 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004657/0.342, allocations: 92.77 kB / 1.227 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3423, allocations: 60.03 kB / 1.227 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.3445, allocations: 1.879 MB / 1.229 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.3447, allocations: 24.12 kB / 1.229 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3448, allocations: 16 kB / 1.229 GB, free: 0.6562 MB / 0.9669 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.0002214/0.345, allocations: 150.3 kB / 1.229 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.345, allocations: 23.95 kB / 1.23 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/0.3456, allocations: 299.3 kB / 1.23 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3456, allocations: 0 / 1.23 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3456, allocations: 4 kB / 1.23 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3456, allocations: 3.938 kB / 1.23 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.3466, allocations: 0.6991 MB / 1.23 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3466, allocations: 0 / 1.23 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3469, allocations: 59.89 kB / 1.231 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3469, allocations: 0 / 1.231 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.3469, allocations: 11.94 kB / 1.231 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3469, allocations: 0 / 1.231 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3469, allocations: 7.938 kB / 1.231 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.3476, allocations: 0.5145 MB / 1.231 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3477, allocations: 117 kB / 1.231 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.3478, allocations: 15.92 kB / 1.231 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3479, allocations: 11.98 kB / 1.231 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.348, allocations: 15.92 kB / 1.231 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.348, allocations: 8 kB / 1.231 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001575/0.3482, allocations: 148 kB / 1.231 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3482, allocations: 0 / 1.231 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003838/0.3485, allocations: 68.06 kB / 1.231 GB, free: 14.4 MB / 0.9825 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.0001925/0.3487, allocations: 107.2 kB / 1.232 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000844/0.3496, allocations: 411.9 kB / 1.232 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3496, allocations: 4.375 kB / 1.232 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.3498, allocations: 115.8 kB / 1.232 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.3502, allocations: 37.94 kB / 1.232 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3515, allocations: 0.6597 MB / 1.233 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.352, allocations: 0.7752 MB / 1.233 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.3521, allocations: 23.42 kB / 1.234 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/0.3521, allocations: 7.938 kB / 1.234 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.007098/0.3592, allocations: 3.629 MB / 1.237 GB, free: 8.562 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.283983703004196]