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.001466/0.001466, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001522/0.001522, allocations: 166.1 kB / 22.46 MB, free: 5.375 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.797/2.797, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.|loa.S.2.",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.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.807e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005147/0.005175, allocations: 3.068 MB / 0.9844 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003/0.008175, allocations: 1.671 MB / 0.986 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.008299, allocations: 11.88 kB / 0.9861 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.00946, allocations: 338.6 kB / 0.9864 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005751/0.01004, allocations: 218.8 kB / 0.9866 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.01056, allocations: 180.4 kB / 0.9868 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.01102, allocations: 326.9 kB / 0.9871 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.01141, allocations: 176.9 kB / 0.9872 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.01175, allocations: 191.5 kB / 0.9874 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.01211, allocations: 151.6 kB / 0.9876 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.543e-05/0.01216, allocations: 23.98 kB / 0.9876 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.0126, allocations: 227.4 kB / 0.9878 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.01275, allocations: 107.6 kB / 0.9879 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.01287, allocations: 83.83 kB / 0.988 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.01351, allocations: 442.7 kB / 0.9884 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.01351, allocations: 4 kB / 0.9884 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01352, allocations: 0 / 0.9884 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.01353, allocations: 0 / 0.9884 GB, free: 4.789 MB / 0.9356 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.001046/0.01457, allocations: 485.4 kB / 0.9889 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.01461, allocations: 8.031 kB / 0.9889 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.01537, allocations: 96.64 kB / 0.989 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.01571, allocations: 208 kB / 0.9892 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.01573, allocations: 12.88 kB / 0.9892 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.01583, allocations: 24.56 kB / 0.9892 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.01656, allocations: 428.9 kB / 0.9896 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.01658, allocations: 192 / 0.9896 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.01662, allocations: 16.11 kB / 0.9896 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.01672, allocations: 28.48 kB / 0.9897 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.01724, allocations: 305.8 kB / 0.99 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.01896, allocations: 1.039 MB / 0.991 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.01942, allocations: 206.5 kB / 0.9912 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01959, allocations: 108.8 kB / 0.9913 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.0197, allocations: 11.98 kB / 0.9913 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.01973, allocations: 34.81 kB / 0.9913 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.01973, allocations: 0 / 0.9913 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001426/0.02116, allocations: 0.7249 MB / 0.992 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.0212, allocations: 55.41 kB / 0.9921 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.02143, allocations: 190.7 kB / 0.9923 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.02146, allocations: 29.7 kB / 0.9923 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.02159, allocations: 164.5 kB / 0.9924 GB, free: 456 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.02166, allocations: 71.41 kB / 0.9925 GB, free: 384 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.02176, allocations: 57.66 kB / 0.9926 GB, free: 320 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.02196, allocations: 326.8 kB / 0.9929 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.02215, allocations: 115.9 kB / 0.993 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.0224, allocations: 166.5 kB / 0.9931 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.02285, allocations: 307.8 kB / 0.9934 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.02285, allocations: 0 / 0.9934 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008419/0.0237, allocations: 416.6 kB / 0.9938 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.02371, allocations: 4.188 kB / 0.9938 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.02372, allocations: 11.94 kB / 0.9939 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.02418, allocations: 96.75 kB / 0.9939 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.02445, allocations: 55.84 kB / 0.994 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.02664, allocations: 1.737 MB / 0.9957 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.02685, allocations: 16.02 kB / 0.9957 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.02688, allocations: 11.98 kB / 0.9957 GB, free: 12.92 MB / 0.9512 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.0001979/0.02708, allocations: 161.7 kB / 0.9959 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.02713, allocations: 23.91 kB / 0.9959 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.0277, allocations: 297.9 kB / 0.9962 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.02771, allocations: 4 kB / 0.9962 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.02771, allocations: 0 / 0.9962 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02771, allocations: 0 / 0.9962 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000955/0.02867, allocations: 0.605 MB / 0.9968 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02867, allocations: 0 / 0.9968 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.02898, allocations: 59.95 kB / 0.9968 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.02899, allocations: 4 kB / 0.9968 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.02901, allocations: 4 kB / 0.9968 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.02901, allocations: 4 kB / 0.9968 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02902, allocations: 0 / 0.9968 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.02972, allocations: 0.5151 MB / 0.9973 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.02982, allocations: 39.89 kB / 0.9974 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.02986, allocations: 8 kB / 0.9974 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.03004, allocations: 11.98 kB / 0.9974 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.03008, allocations: 15.97 kB / 0.9974 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.0301, allocations: 16 kB / 0.9974 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001339/0.03024, allocations: 140.7 kB / 0.9976 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.03024, allocations: 0 / 0.9976 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003736/0.03061, allocations: 64 kB / 0.9976 GB, free: 10.89 MB / 0.9512 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.0001778/0.03079, allocations: 107.2 kB / 0.9977 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008026/0.03159, allocations: 422.4 kB / 0.9981 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03159, allocations: 4 kB / 0.9981 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.03177, allocations: 107.9 kB / 0.9982 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.03218, allocations: 35.92 kB / 0.9983 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.03334, allocations: 0.5689 MB / 0.9988 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.03351, allocations: 165.2 kB / 0.999 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.03367, allocations: 61.89 kB / 0.9991 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.03375, allocations: 24.5 kB / 0.9991 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.03375, allocations: 0 / 0.9991 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of Templates: time 0.007067/0.04081, allocations: 2.766 MB / 1.002 GB, free: 6.602 MB / 0.9512 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.186463091522455]