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.001685/0.001685, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002274/0.002274, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.8 MB / 0.7707 GB, free: 4.461 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 69.03 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2805, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005281/0.2858, allocations: 3.208 MB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.2889, allocations: 1.811 MB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.289, allocations: 7.938 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.2901, allocations: 346.7 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.2906, allocations: 211.1 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.2911, allocations: 194.3 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.2915, allocations: 319 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.2918, allocations: 176.6 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.2921, allocations: 143.5 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.2924, allocations: 171.4 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.2924, allocations: 24 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.2928, allocations: 251.5 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2929, allocations: 103.7 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2931, allocations: 119.4 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.2936, allocations: 426.5 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2936, allocations: 4 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2936, allocations: 0 / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2936, allocations: 0 / 1.291 GB, free: 4.234 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.0009605/0.2946, allocations: 481.4 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2946, allocations: 16.03 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.08e-05/0.2947, allocations: 58.72 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/0.2955, allocations: 96.67 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.2958, allocations: 202.1 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2958, allocations: 12.81 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2959, allocations: 32.5 kB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.2965, allocations: 380.5 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2965, allocations: 3.984 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2966, allocations: 8 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.75e-05/0.2967, allocations: 28.42 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.2972, allocations: 305.5 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.2991, allocations: 1.487 MB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.2995, allocations: 221 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.2997, allocations: 104.8 kB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.2998, allocations: 11.98 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2998, allocations: 38.56 kB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.2998, allocations: 0 / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001249/0.3011, allocations: 0.7136 MB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.3011, allocations: 59.41 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.3013, allocations: 199.2 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3013, allocations: 33.64 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3015, allocations: 164.2 kB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.3015, allocations: 63.44 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.3016, allocations: 61.64 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3018, allocations: 326.8 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.3019, allocations: 119.9 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3022, allocations: 173.9 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.3026, allocations: 296.3 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3026, allocations: 0 / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008102/0.3034, allocations: 417.9 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3034, allocations: 7.938 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3034, allocations: 4.188 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.3038, allocations: 96.77 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.3041, allocations: 55.89 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.3062, allocations: 1.784 MB / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.3064, allocations: 19.92 kB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3064, allocations: 11.98 kB / 1.298 GB, free: 11.73 MB / 0.9981 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.0001776/0.3066, allocations: 153.8 kB / 1.299 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.3067, allocations: 19.86 kB / 1.299 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005167/0.3072, allocations: 307.5 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3072, allocations: 0 / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3072, allocations: 0 / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3072, allocations: 3.938 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/0.3082, allocations: 0.673 MB / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3082, allocations: 0 / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.3085, allocations: 59.89 kB / 1.3 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3085, allocations: 8 kB / 1.3 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3085, allocations: 8 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3085, allocations: 0 / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3085, allocations: 0 / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.3092, allocations: 0.5108 MB / 1.3 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3093, allocations: 43.88 kB / 1.3 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3093, allocations: 15.98 kB / 1.3 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3095, allocations: 11.98 kB / 1.3 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3095, allocations: 11.98 kB / 1.3 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3095, allocations: 8 kB / 1.3 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001416/0.3097, allocations: 140.1 kB / 1.3 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3097, allocations: 4 kB / 1.3 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003649/0.31, allocations: 67.94 kB / 1.3 GB, free: 9.605 MB / 0.9981 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.0009901/0.311, allocations: 1.055 MB / 1.301 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007565/0.3118, allocations: 417.9 kB / 1.302 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.3118, allocations: 4 kB / 1.302 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.312, allocations: 111.9 kB / 1.302 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.3124, allocations: 32.78 kB / 1.302 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.3163, allocations: 2.907 MB / 1.305 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3167, allocations: 0.7636 MB / 1.306 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.3169, allocations: 61.91 kB / 1.306 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.317, allocations: 71.41 kB / 1.306 GB, free: 4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/0.317, allocations: 0 / 1.306 GB, free: 4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.3521, allocations: 5.326 MB / 1.311 GB, free: 14.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.43, allocations: 2.734 kB / 1.311 GB, free: 14.82 MB / 1.014 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/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] "Error: Could not read variable sen.I in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.79464951599948]