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.001737/0.001737, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002017/0.002017, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.547/1.547, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.681/2.681, allocations: 443.5 MB / 0.7304 GB, free: 13.87 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.002105/0.002105, allocations: 63.89 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005946/0.3808, allocations: 3.205 MB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003594/0.3844, allocations: 1.78 MB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.3846, allocations: 4 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.3857, allocations: 346.7 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.3864, allocations: 211.1 kB / 1.222 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.387, allocations: 187.5 kB / 1.222 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.3874, allocations: 315 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.3878, allocations: 168.7 kB / 1.222 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.388, allocations: 135.6 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.3884, allocations: 167.4 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.3884, allocations: 27.94 kB / 1.222 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.3889, allocations: 247.5 kB / 1.223 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.389, allocations: 107.7 kB / 1.223 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3892, allocations: 119.4 kB / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.3898, allocations: 426.5 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3898, allocations: 4 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3898, allocations: 0 / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.3898, allocations: 0 / 1.223 GB, free: 7.879 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.001145/0.391, allocations: 0.5454 MB / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.391, allocations: 8.031 kB / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.3918, allocations: 96.64 kB / 1.224 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.3922, allocations: 266.1 kB / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.3923, allocations: 24.73 kB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3924, allocations: 20.56 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.393, allocations: 381.1 kB / 1.225 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.393, allocations: 0 / 1.225 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.3931, allocations: 12 kB / 1.225 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.3932, allocations: 28.42 kB / 1.225 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.3937, allocations: 305.5 kB / 1.225 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.3957, allocations: 1.537 MB / 1.226 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.3962, allocations: 216.6 kB / 1.227 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3963, allocations: 100.8 kB / 1.227 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.3965, allocations: 89.09 kB / 1.227 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.3965, allocations: 38.56 kB / 1.227 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3965, allocations: 0 / 1.227 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001415/0.398, allocations: 0.7849 MB / 1.228 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.398, allocations: 63.3 kB / 1.228 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.3982, allocations: 194.7 kB / 1.228 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3983, allocations: 25.7 kB / 1.228 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3984, allocations: 164.2 kB / 1.228 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.3985, allocations: 87.25 kB / 1.228 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3986, allocations: 53.69 kB / 1.228 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3987, allocations: 334.8 kB / 1.229 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3989, allocations: 111.9 kB / 1.229 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.3991, allocations: 163.5 kB / 1.229 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.3996, allocations: 296.6 kB / 1.229 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3996, allocations: 0 / 1.229 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008269/0.4004, allocations: 421.9 kB / 1.229 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4004, allocations: 4 kB / 1.229 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4004, allocations: 4 kB / 1.229 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.4009, allocations: 96.95 kB / 1.23 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.4011, allocations: 63.83 kB / 1.23 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.4034, allocations: 1.872 MB / 1.231 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.4036, allocations: 19.92 kB / 1.231 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.4036, allocations: 8 kB / 1.231 GB, free: 14.93 MB / 0.9825 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.0002039/0.4038, allocations: 164.1 kB / 1.232 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.4039, allocations: 15.91 kB / 1.232 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.4044, allocations: 297.4 kB / 1.232 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4044, allocations: 0 / 1.232 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.4044, allocations: 0 / 1.232 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4044, allocations: 7.938 kB / 1.232 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.4054, allocations: 0.6991 MB / 1.233 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4054, allocations: 0 / 1.233 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.4057, allocations: 59.89 kB / 1.233 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4057, allocations: 0 / 1.233 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4058, allocations: 15.92 kB / 1.233 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4058, allocations: 0 / 1.233 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4058, allocations: 0 / 1.233 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.4064, allocations: 0.5126 MB / 1.233 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.4066, allocations: 121 kB / 1.233 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4066, allocations: 12.06 kB / 1.233 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.4068, allocations: 11.98 kB / 1.233 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.4068, allocations: 19.91 kB / 1.233 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4069, allocations: 8.062 kB / 1.233 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000161/0.407, allocations: 152 kB / 1.234 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.407, allocations: 0 / 1.234 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003851/0.4074, allocations: 60 kB / 1.234 GB, free: 12.68 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.00021/0.4076, allocations: 115.1 kB / 1.234 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008244/0.4084, allocations: 414.5 kB / 1.234 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4084, allocations: 3.938 kB / 1.234 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.4086, allocations: 109.9 kB / 1.234 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.409, allocations: 37.81 kB / 1.234 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.4103, allocations: 0.6346 MB / 1.235 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.4108, allocations: 0.7753 MB / 1.236 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.411, allocations: 57.89 kB / 1.236 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.4111, allocations: 19.44 kB / 1.236 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of SimCode: time 6.92e-07/0.4111, allocations: 0 / 1.236 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.007414/0.4185, allocations: 2.949 MB / 1.239 GB, free: 7.508 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.966300875879824]