Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.00183/0.00183, 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.002489/0.002489, allocations: 211.3 kB / 22.25 MB, free: 5.129 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.98 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.774/2.774, allocations: 476.8 MB / 0.7707 GB, free: 4.297 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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.002071/0.002071, allocations: 62.55 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2857, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005892/0.2916, allocations: 3.87 MB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003354/0.295, allocations: 1.894 MB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.2953, allocations: 19.81 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.2963, allocations: 274.6 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008073/0.2971, allocations: 314.4 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.2978, allocations: 249.5 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008411/0.2986, allocations: 0.6052 MB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.2991, allocations: 234.6 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.2996, allocations: 259 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.3, allocations: 250.9 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-05/0.3001, allocations: 28 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.3006, allocations: 271.4 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.3008, allocations: 131.6 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.301, allocations: 206.8 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008881/0.3019, allocations: 0.5914 MB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3019, allocations: 0 / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3019, allocations: 4 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.3019, allocations: 0 / 1.292 GB, free: 2.512 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001432/0.3033, allocations: 0.6798 MB / 1.293 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3034, allocations: 8.031 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.81e-05/0.3035, allocations: 70.66 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.3045, allocations: 136.5 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.3052, allocations: 341.4 kB / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3052, allocations: 25.02 kB / 1.294 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.3053, allocations: 36.33 kB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.3062, allocations: 0.547 MB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.3062, allocations: 7.938 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.3062, allocations: 15.98 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.907e-05/0.3063, allocations: 40.62 kB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.3071, allocations: 410.1 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.3104, allocations: 3.271 MB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.3111, allocations: 322.5 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.3114, allocations: 156.8 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3115, allocations: 4 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3115, allocations: 38.56 kB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.3115, allocations: 0 / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.00224/0.3138, allocations: 0.8409 MB / 1.299 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3138, allocations: 55.64 kB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.3142, allocations: 345.6 kB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3142, allocations: 29.7 kB / 1.299 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.3144, allocations: 256.1 kB / 1.3 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.3145, allocations: 95.17 kB / 1.3 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3146, allocations: 82.08 kB / 1.3 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3148, allocations: 346.8 kB / 1.3 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.3151, allocations: 144.8 kB / 1.3 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.3155, allocations: 298.5 kB / 1.301 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.3162, allocations: 478.5 kB / 1.301 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3162, allocations: 0 / 1.301 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001092/0.3173, allocations: 0.5661 MB / 1.302 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3173, allocations: 8 kB / 1.302 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3174, allocations: 4 kB / 1.302 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.3177, allocations: 86.5 kB / 1.302 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.3181, allocations: 91.81 kB / 1.302 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.3181, allocations: 11.94 kB / 1.302 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.3184, allocations: 32.09 kB / 1.302 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3184, allocations: 16 kB / 1.302 GB, free: 8.09 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.3186, allocations: 181.6 kB / 1.302 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.3187, allocations: 43.72 kB / 1.302 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/0.3196, allocations: 472.3 kB / 1.303 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3196, allocations: 0 / 1.303 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3196, allocations: 4 kB / 1.303 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3197, allocations: 0 / 1.303 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.3213, allocations: 0.935 MB / 1.303 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3213, allocations: 4 kB / 1.303 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3216, allocations: 51.89 kB / 1.304 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.3218, allocations: 78.52 kB / 1.304 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.3218, allocations: 8 kB / 1.304 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3219, allocations: 0 / 1.304 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3219, allocations: 8.031 kB / 1.304 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000897/0.3228, allocations: 0.5469 MB / 1.304 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3229, allocations: 63.73 kB / 1.304 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.323, allocations: 4 kB / 1.304 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.3232, allocations: 23.91 kB / 1.304 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.3233, allocations: 23.95 kB / 1.304 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.3233, allocations: 16 kB / 1.304 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002604/0.3236, allocations: 235.2 kB / 1.304 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3236, allocations: 0 / 1.304 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004547/0.324, allocations: 84 kB / 1.305 GB, free: 5.203 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/0.3254, allocations: 1.096 MB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008732/0.3262, allocations: 395.9 kB / 1.306 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3262, allocations: 0 / 1.306 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.3266, allocations: 190.3 kB / 1.306 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.3273, allocations: 139.5 kB / 1.306 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.3327, allocations: 3.746 MB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3331, allocations: 0.823 MB / 1.311 GB, free: 14.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.3334, allocations: 79.34 kB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3336, allocations: 131.4 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/0.3336, allocations: 0 / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.3736, allocations: 8.643 MB / 1.319 GB, free: 5.883 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.02, allocations: 12.25 kB / 1.319 GB, free: 5.875 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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: 18.542727106017992]