Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.001249, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7532, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005124/0.7583, allocations: 3.787 MB / 0.9528 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.7612, allocations: 1.799 MB / 0.9545 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.7615, allocations: 17.09 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.7623, allocations: 244.3 kB / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005611/0.7629, allocations: 275.5 kB / 0.955 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.7634, allocations: 224.2 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.7642, allocations: 0.7408 MB / 0.956 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.7647, allocations: 247.1 kB / 0.9562 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.765, allocations: 216.6 kB / 0.9564 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.7653, allocations: 235.7 kB / 0.9566 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.7654, allocations: 18.12 kB / 0.9567 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.7659, allocations: 346.1 kB / 0.957 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.7661, allocations: 106.7 kB / 0.9571 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.7663, allocations: 196.9 kB / 0.9573 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.7669, allocations: 0.6001 MB / 0.9579 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7669, allocations: 1.312 kB / 0.9579 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7669, allocations: 4 kB / 0.9579 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7669, allocations: 0 / 0.9579 GB, free: 2.688 MB / 0.7169 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.001104/0.768, allocations: 0.7198 MB / 0.9586 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.7681, allocations: 9.719 kB / 0.9586 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.729e-05/0.7682, allocations: 82.64 kB / 0.9587 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008812/0.7691, allocations: 133.7 kB / 0.9588 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.7695, allocations: 379.2 kB / 0.9591 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.7696, allocations: 21.28 kB / 0.9592 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.7696, allocations: 26.88 kB / 0.9592 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.7705, allocations: 0.5605 MB / 0.9597 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.7705, allocations: 5.219 kB / 0.9597 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.7706, allocations: 17.16 kB / 0.9598 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-05/0.7706, allocations: 42.09 kB / 0.9598 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.7714, allocations: 408.3 kB / 0.9602 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.7743, allocations: 3.337 MB / 0.9634 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.7749, allocations: 337.3 kB / 0.9638 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.7753, allocations: 177.6 kB / 0.9639 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.7753, allocations: 2.656 kB / 0.9639 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.7754, allocations: 39.88 kB / 0.964 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.7754, allocations: 0 / 0.964 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002149/0.7775, allocations: 1.072 MB / 0.965 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.7776, allocations: 54.42 kB / 0.9651 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.778, allocations: 342.9 kB / 0.9654 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.778, allocations: 31.05 kB / 0.9654 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.7782, allocations: 241.7 kB / 0.9657 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.7783, allocations: 107.4 kB / 0.9658 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.7784, allocations: 72.73 kB / 0.9658 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7785, allocations: 347.2 kB / 0.9662 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.7788, allocations: 149.1 kB / 0.9663 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.7792, allocations: 291.1 kB / 0.9666 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.7799, allocations: 483.1 kB / 0.967 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7799, allocations: 1.719 kB / 0.967 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001049/0.781, allocations: 0.5646 MB / 0.9676 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.781, allocations: 7.781 kB / 0.9676 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.781, allocations: 4.406 kB / 0.9676 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/0.7814, allocations: 89.62 kB / 0.9677 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.7817, allocations: 88.55 kB / 0.9678 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.7818, allocations: 18.39 kB / 0.9678 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.7821, allocations: 30.56 kB / 0.9678 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.7821, allocations: 18.09 kB / 0.9678 GB, free: 10.51 MB / 0.7325 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.0002004/0.7823, allocations: 168.2 kB / 0.968 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.7824, allocations: 39.41 kB / 0.968 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/0.7833, allocations: 478.5 kB / 0.9685 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7833, allocations: 2.75 kB / 0.9685 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.7833, allocations: 1.438 kB / 0.9685 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7833, allocations: 0 / 0.9685 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.7848, allocations: 0.9594 MB / 0.9694 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7849, allocations: 1.375 kB / 0.9694 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.7851, allocations: 54.8 kB / 0.9695 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.7853, allocations: 76.8 kB / 0.9696 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.7854, allocations: 6.969 kB / 0.9696 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7854, allocations: 2.406 kB / 0.9696 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7854, allocations: 8.031 kB / 0.9696 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008648/0.7863, allocations: 0.5492 MB / 0.9701 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.7864, allocations: 134.3 kB / 0.9702 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.7865, allocations: 6.75 kB / 0.9703 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.7867, allocations: 26.41 kB / 0.9703 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.7868, allocations: 26.8 kB / 0.9703 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.7868, allocations: 6.844 kB / 0.9703 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002405/0.7871, allocations: 232.5 kB / 0.9705 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7871, allocations: 1.094 kB / 0.9705 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004482/0.7875, allocations: 88.19 kB / 0.9706 GB, free: 8.535 MB / 0.7325 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.00115/0.7887, allocations: 1.087 MB / 0.9717 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009372/0.7896, allocations: 0.6411 MB / 0.9723 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7896, allocations: 0 / 0.9723 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.7901, allocations: 435.8 kB / 0.9727 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.7908, allocations: 116.3 kB / 0.9728 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.7961, allocations: 3.899 MB / 0.9766 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.7966, allocations: 0.8214 MB / 0.9774 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003417/0.797, allocations: 78.94 kB / 0.9775 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.7972, allocations: 131.8 kB / 0.9776 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of SimCode: time 1.143e-06/0.7972, allocations: 1.438 kB / 0.9776 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.8177, allocations: 7.874 MB / 0.9853 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.8179, allocations: 251.5 kB / 0.9856 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.685, allocations: 0.8438 kB / 0.9856 GB, free: 11.57 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches