Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008598/0.008598, allocations: 97.25 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 204.4 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006438/0.2944, allocations: 4.871 MB / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.2986, allocations: 2.436 MB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005423/0.2992, allocations: 23.81 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.3006, allocations: 405.9 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.3019, allocations: 473.7 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009878/0.3029, allocations: 378.1 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.304, allocations: 0.9173 MB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006289/0.3047, allocations: 354.5 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.3053, allocations: 346.7 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.3059, allocations: 354.4 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.306, allocations: 36 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.3068, allocations: 399.1 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.307, allocations: 179.5 kB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.3075, allocations: 318.2 kB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.3087, allocations: 0.8831 MB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3088, allocations: 0 / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3088, allocations: 4 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.766e-05/0.3088, allocations: 4 kB / 1.232 GB, free: 2.289 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001644/0.3105, allocations: 0.9493 MB / 1.233 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3105, allocations: 12.03 kB / 1.233 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.3106, allocations: 90.7 kB / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.312, allocations: 216.1 kB / 1.233 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.3128, allocations: 0.5417 MB / 1.234 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.3129, allocations: 37.34 kB / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.313, allocations: 44.36 kB / 1.234 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3141, allocations: 0.8485 MB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.3141, allocations: 7.938 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.3142, allocations: 20 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.635e-05/0.3142, allocations: 64.95 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008232/0.3151, allocations: 0.5695 MB / 1.235 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.3196, allocations: 5.639 MB / 1.241 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.3203, allocations: 451.3 kB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3206, allocations: 233.2 kB / 1.241 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3206, allocations: 7.984 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3207, allocations: 38.55 kB / 1.241 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.3207, allocations: 0 / 1.241 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002587/0.3233, allocations: 1.512 MB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3233, allocations: 59.69 kB / 1.243 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.3239, allocations: 0.4912 MB / 1.243 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3239, allocations: 33.7 kB / 1.243 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.3241, allocations: 359.8 kB / 1.244 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3243, allocations: 126.9 kB / 1.244 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.3244, allocations: 114.2 kB / 1.244 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3246, allocations: 366.8 kB / 1.244 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.3249, allocations: 197.2 kB / 1.244 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.3253, allocations: 447.3 kB / 1.245 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/0.3261, allocations: 0.6835 MB / 1.246 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3261, allocations: 3.938 kB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00129/0.3274, allocations: 0.8173 MB / 1.246 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3274, allocations: 11.98 kB / 1.246 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3274, allocations: 8 kB / 1.246 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.328, allocations: 156.8 kB / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.3284, allocations: 123.7 kB / 1.247 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5831/0.9115, allocations: 4.34 MB / 1.251 GB, free: 27.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.9121, allocations: 32.77 kB / 1.251 GB, free: 27.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.9121, allocations: 29.17 kB / 1.251 GB, free: 27.02 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.9124, allocations: 213.5 kB / 1.251 GB, free: 26.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.9125, allocations: 66.23 kB / 1.251 GB, free: 26.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009682/0.9134, allocations: 0.5957 MB / 1.252 GB, free: 26.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.9135, allocations: 4.156 kB / 1.252 GB, free: 26.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9135, allocations: 5.156 kB / 1.252 GB, free: 26.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.9135, allocations: 4.016 kB / 1.252 GB, free: 26.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.9151, allocations: 1.264 MB / 1.253 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9151, allocations: 2 kB / 1.253 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.9154, allocations: 53.48 kB / 1.253 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/0.9158, allocations: 144.2 kB / 1.253 GB, free: 26.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.9158, allocations: 8.641 kB / 1.253 GB, free: 26.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.918, allocations: 4.353 MB / 1.257 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.918, allocations: 3.75 kB / 1.257 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.9188, allocations: 0.712 MB / 1.258 GB, free: 22.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.919, allocations: 168.2 kB / 1.258 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.9191, allocations: 10.75 kB / 1.258 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.9193, allocations: 25.92 kB / 1.258 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.9194, allocations: 27.17 kB / 1.258 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.9194, allocations: 12.09 kB / 1.258 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003143/0.9197, allocations: 332.8 kB / 1.259 GB, free: 21.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9198, allocations: 0 / 1.259 GB, free: 21.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006257/0.9204, allocations: 141.6 kB / 1.259 GB, free: 21.87 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.9214, allocations: 1.265 MB / 1.26 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.9225, allocations: 1.046 MB / 1.261 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9225, allocations: 0 / 1.261 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.9231, allocations: 0.7405 MB / 1.262 GB, free: 19.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.924, allocations: 199 kB / 1.262 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.9286, allocations: 5.108 MB / 1.267 GB, free: 17.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.9289, allocations: 0.9101 MB / 1.268 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.9292, allocations: 115.7 kB / 1.268 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.9294, allocations: 194 kB / 1.268 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.9294, allocations: 0 / 1.268 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/0.9681, allocations: 12.72 MB / 1.281 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/10.63, allocations: 9.531 kB / 1.281 GB, free: 15.74 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches