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.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.001847/0.001847, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002343/0.002343, allocations: 200.2 kB / 22.17 MB, free: 5.211 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.543/1.543, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002027/0.002027, allocations: 75.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8823/0.8843, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005325/0.8897, allocations: 3.203 MB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.8929, allocations: 1.784 MB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.8931, allocations: 7.938 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.8942, allocations: 350.8 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.8948, allocations: 207 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.8953, allocations: 194.6 kB / 1.28 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.8957, allocations: 319 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.896, allocations: 155.5 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.8963, allocations: 143.5 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.8966, allocations: 167.4 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.8967, allocations: 24 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.8971, allocations: 247.5 kB / 1.281 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.8972, allocations: 103.8 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.8974, allocations: 127.3 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.898, allocations: 426.5 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.898, allocations: 4 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.898, allocations: 0 / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.898, allocations: 0 / 1.281 GB, free: 13.11 MB / 0.9825 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.00109/0.8991, allocations: 0.5531 MB / 1.282 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.8991, allocations: 8.031 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.8999, allocations: 92.69 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.9003, allocations: 263.9 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.9003, allocations: 16.8 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.88e-05/0.9004, allocations: 24.56 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.901, allocations: 385.1 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.901, allocations: 0 / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.901, allocations: 8 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.9011, allocations: 28.42 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.9017, allocations: 305.5 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.9037, allocations: 1.526 MB / 1.284 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.9041, allocations: 214.4 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.9043, allocations: 108.8 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.9045, allocations: 89.09 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.9045, allocations: 30.88 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.9045, allocations: 0 / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001346/0.9058, allocations: 0.8038 MB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.9059, allocations: 55.41 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.9061, allocations: 199.1 kB / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.9061, allocations: 29.7 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.9062, allocations: 168.1 kB / 1.286 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.9063, allocations: 63.44 kB / 1.286 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.9064, allocations: 57.69 kB / 1.286 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9066, allocations: 334.7 kB / 1.286 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.9068, allocations: 115.9 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.907, allocations: 165.9 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.9074, allocations: 301.7 kB / 1.287 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.9074, allocations: 0 / 1.287 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008123/0.9082, allocations: 420.3 kB / 1.287 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9082, allocations: 4 kB / 1.287 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9083, allocations: 4.188 kB / 1.287 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.9087, allocations: 96.77 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.9089, allocations: 55.89 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.9111, allocations: 1.879 MB / 1.289 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.9114, allocations: 19.92 kB / 1.289 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.9114, allocations: 12 kB / 1.289 GB, free: 4.164 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.0001826/0.9116, allocations: 157.8 kB / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.9116, allocations: 15.91 kB / 1.29 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.9121, allocations: 295.4 kB / 1.29 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9121, allocations: 0 / 1.29 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.9121, allocations: 0 / 1.29 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.9121, allocations: 7.938 kB / 1.29 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.9132, allocations: 0.6991 MB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9132, allocations: 3.984 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.9135, allocations: 55.91 kB / 1.291 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.9135, allocations: 8.047 kB / 1.291 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.9135, allocations: 11.94 kB / 1.291 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9135, allocations: 0 / 1.291 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9135, allocations: 0 / 1.291 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.9142, allocations: 0.5107 MB / 1.291 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.9143, allocations: 121 kB / 1.291 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.9144, allocations: 8.125 kB / 1.291 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.9146, allocations: 15.98 kB / 1.291 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.9146, allocations: 11.98 kB / 1.291 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.9146, allocations: 8 kB / 1.291 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001471/0.9148, allocations: 144.1 kB / 1.291 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9148, allocations: 0 / 1.291 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003799/0.9151, allocations: 67.94 kB / 1.292 GB, free: 1.922 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.0001638/0.9153, allocations: 116.8 kB / 1.292 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007892/0.9161, allocations: 406.2 kB / 1.292 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9161, allocations: 0 / 1.292 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.9163, allocations: 113.9 kB / 1.292 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.9167, allocations: 44.36 kB / 1.292 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.9179, allocations: 0.6343 MB / 1.293 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.9184, allocations: 0.7753 MB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.9185, allocations: 57.89 kB / 1.294 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.9186, allocations: 23.44 kB / 1.294 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9186, allocations: 3.938 kB / 1.294 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.007198/0.9258, allocations: 2.943 MB / 1.296 GB, free: 12.75 MB / 0.9981 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.976361516863108]